com.ibm.db.beans
Class DBRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.ibm.db.beans.DBRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class DBRuntimeException
extends java.lang.RuntimeException

Thrown when an error is encountered.

See Also:
Serialized Form

Constructor Summary
DBRuntimeException(java.lang.Exception ex)
          This method was created in VisualAge.
DBRuntimeException(java.lang.String s)
          Constructs a DataRuntimeException with the specified detail message.
 
Method Summary
 java.lang.Exception getException()
          Returns the original exception.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBRuntimeException

public DBRuntimeException(java.lang.Exception ex)
This method was created in VisualAge.

Parameters:
ex - java.lang.Exception

DBRuntimeException

public DBRuntimeException(java.lang.String s)
Constructs a DataRuntimeException with the specified detail message.

Parameters:
s - the detail message.
Method Detail

getException

public java.lang.Exception getException()
Returns the original exception.

Returns:
java.lang.Exception