com.sybase.persistence
Class PersistenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sybase.persistence.PersistenceException
Direct Known Subclasses:
ObjectNotFoundException, SynchronizeException, SynchronizeRequiredException

public class PersistenceException
extends java.lang.RuntimeException

PersistenceException is thrown when an exception occurs during database manipulation.


Constructor Summary
PersistenceException()
          Initializes a new instance of the PersistenceException class.
PersistenceException(java.lang.String message)
          Initializes a new instance of the PersistenceException class with the message to be displayed.
PersistenceException(java.lang.String message, java.lang.Throwable cause)
          Initializes a new instance of the PersistenceException class with the message to be displayed and the generated inner exception specified.
PersistenceException(java.lang.Throwable cause)
          Initializes a new instance of the PersistenceException class with the generated inner exception specified.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the inner exception
 
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

PersistenceException

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


PersistenceException

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


PersistenceException

public PersistenceException(java.lang.String message,
                            java.lang.Throwable cause)
Initializes a new instance of the PersistenceException class with the message to be displayed and the generated inner exception specified.


PersistenceException

public PersistenceException(java.lang.Throwable cause)
Initializes a new instance of the PersistenceException class with the generated inner exception specified.

Method Detail

getCause

public java.lang.Throwable getCause()
Returns the inner exception