com.triactive.jdo.store
Class ObjectNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDODataStoreException
javax.jdo.JDOObjectNotFoundException
com.triactive.jdo.store.ObjectNotFoundException
- All Implemented Interfaces:
- java.io.Serializable
- public class ObjectNotFoundException
- extends javax.jdo.JDOObjectNotFoundException
A ObjectNotFoundException is thrown if an attempt is made to load
a persistent object having a given ID and that object ID does not exist in
the data store.
This class is a TJDO-specific subclass that exists for historical reasons.
Application code should use JDOObjectNotFoundException as the indication that
an object was not found.
- Author:
- Mike Martin
- See Also:
- Serialized Form
Fields inherited from class javax.jdo.JDOException |
|
Fields inherited from class java.lang.RuntimeException |
|
Constructor Summary |
ObjectNotFoundException(java.lang.String msg,
java.lang.Object failed)
Constructs an object not found exception with the specified detail
message and failed object. |
Methods inherited from class javax.jdo.JDOException |
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectNotFoundException
public ObjectNotFoundException(java.lang.String msg,
java.lang.Object failed)
- Constructs an object not found exception with the specified detail
message and failed object.
- Parameters:
msg
- the detail messagefailed
- the failed object
Copyright © 2001 TriActive, Inc. All Rights Reserved.