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

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

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.
 
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(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 message
failed - the failed object


Copyright ? 2001 TriActive, Inc. All Rights Reserved.