gov.nih.nci.caarray.services.exception
Class DBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.nih.nci.caarray.services.exception.DBException
All Implemented Interfaces:
java.io.Serializable

public final class DBException
extends java.lang.Exception

This exception is used when a generic problem accessing the database in encountered.

See Also:
Serialized Form

Constructor Summary
DBException()
          DBException constructor comment.
DBException(java.lang.String message)
          Constructs a new DBException with the specified detail message.
DBException(java.lang.String message, java.lang.Throwable cause)
           
DBException(java.lang.Throwable cause)
          DBException constructor comment.
 
Method Summary
 java.lang.Throwable getSourceException()
          Gets the sourceException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBException

public DBException()
DBException constructor comment.


DBException

public DBException(java.lang.String message)
Constructs a new DBException with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

DBException

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

DBException

public DBException(java.lang.Throwable cause)
DBException constructor comment.

Parameters:
cause - The cause of this Exception
Method Detail

getSourceException

public java.lang.Throwable getSourceException()
Gets the sourceException.

Returns:
Returns a Throwable