com.xavax.xstore.exception
Class ObjectNotFoundException

Object
  extended byThrowable
      extended byException
          extended byRuntimeException
              extended byPersistenceException
                  extended byObjectNotFoundException
All Implemented Interfaces:
Serializable

public class ObjectNotFoundException
extends PersistenceException

ObjectNotFoundException is thrown by the persistence framework when an attempt is made to load an object that does not exist.

See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException(PersistenceManager pm, LOID loid, Throwable cause)
          Construct an ObjectNotFoundException.
 
Method Summary
 void handle()
          Handle this exception by writing a description of the exception to the log file.
 
Methods inherited from class PersistenceException
header, manager, name, trailer
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotFoundException

public ObjectNotFoundException(PersistenceManager pm,
                               LOID loid,
                               Throwable cause)
Construct an ObjectNotFoundException.

Parameters:
pm - the persistence manager.
loid - the LOID that caused this exception.
Method Detail

handle

public void handle()
Handle this exception by writing a description of the exception to the log file.

Overrides:
handle in class PersistenceException