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
An 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 used for convenience.
Application code should use JDOObjectNotFoundException as the indication that
an object was not found.
- Author:
- Mike Martin
- See Also:
- Serialized Form
Constructor Summary |
ObjectNotFoundException(StateManager sm)
Constructs an object not found exception due to a failure to find the
database row(s) for the given state manager. |
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(StateManager sm)
- Constructs an object not found exception due to a failure to find the
database row(s) for the given state manager.
- Parameters:
sm
- the state manager of the object that was being loaded.
Copyright © 2001-2007 The TJDO Project All Rights Reserved.