org.dartra.framework.dao
Class DataAccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.dartra.framework.dao.DataAccessException
All Implemented Interfaces:
java.io.Serializable

public class DataAccessException
extends java.lang.RuntimeException

Exception signaling problems accessing data in the persistent store.

Author:
Erwin Vervaet
See Also:
Serialized Form

Constructor Summary
DataAccessException(java.lang.String message)
          Create a new data access axception with given error message.
DataAccessException(java.lang.String message, java.lang.Throwable cause)
          Create a new data access exception caused by given Throwable.
DataAccessException(java.lang.Throwable cause)
          Create a new data access exception caused by given Throwable.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataAccessException

public DataAccessException(java.lang.String message)

Create a new data access axception with given error message.


DataAccessException

public DataAccessException(java.lang.Throwable cause)

Create a new data access exception caused by given Throwable.


DataAccessException

public DataAccessException(java.lang.String message,
                           java.lang.Throwable cause)

Create a new data access exception caused by given Throwable. The message provides additional information.

Method Detail

getCause

public java.lang.Throwable getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.)


toString

public java.lang.String toString()