com.triactive.jdo.store
Class ObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDODataStoreException
                          extended by javax.jdo.JDOObjectNotFoundException
                              extended by 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.
 
Method Summary
 
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
 

Constructor Detail

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.