com.is.jrf
Class DatabaseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.is.jrf.DatabaseException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseException
extends java.lang.RuntimeException

This exception is a wrapper for errors thrown by the JDBC driver. Since it is a subclass of Runtime exception, it is not declared in the throws clauses of the framework.

See Also:
Serialized Form

Constructor Summary
DatabaseException(java.lang.Exception e)
           
DatabaseException(java.lang.Exception e, java.lang.String message)
           
DatabaseException(java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.Exception getOriginalException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseException

public DatabaseException(java.lang.String message)

DatabaseException

public DatabaseException(java.lang.Exception e)

DatabaseException

public DatabaseException(java.lang.Exception e,
                         java.lang.String message)
Method Detail

getOriginalException

public java.lang.Exception getOriginalException()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable