com.sybase.persistence
Class ObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sybase.persistence.PersistenceException
                  extended by com.sybase.persistence.ObjectNotFoundException

public class ObjectNotFoundException
extends PersistenceException

This exception is thrown by the static entity method 'load' when it does not find an entity for the primary key passed in.


Constructor Summary
ObjectNotFoundException()
          Initializes a new instance of the ObjectNotFoundException class.
ObjectNotFoundException(java.lang.String message)
          Initializes a new instance of the ObjectNotFoundException class with the message to be displayed.
 
Method Summary
 
Methods inherited from class com.sybase.persistence.PersistenceException
getCause
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotFoundException

public ObjectNotFoundException()
Initializes a new instance of the ObjectNotFoundException class.


ObjectNotFoundException

public ObjectNotFoundException(java.lang.String message)
Initializes a new instance of the ObjectNotFoundException class with the message to be displayed.

Parameters:
message - the message to be displayed