com.triactive.jdo.store
Class ObjectNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDODataStoreException
                          extended byjavax.jdo.JDOObjectNotFoundException
                              extended bycom.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

Field Summary
 
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
 

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.