java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.db.beans.DBRuntimeException
public class DBRuntimeException
extends RuntimeException
Thrown when an error is encountered.
| Constructor | Description |
|---|---|
| DBRuntimeException(Exception) | This method was created in VisualAge. |
| DBRuntimeException(String) | Constructs a DataRuntimeException with the specified
detail message. |
| Method | Description |
|---|---|
| Exception getException() | Returns the original exception. |
public DBRuntimeException(Exception ex)This method was created in VisualAge.
- Parameters
- ex - java.lang.Exception
public DBRuntimeException(String s)Constructs a
DataRuntimeExceptionwith the specified detail message.
- Parameters
- s - the detail message.
public Exception getException()Returns the original exception.
- Returns
- java.lang.Exception