public class DatabaseException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
DatabaseException(java.lang.String message,
DatabaseAdaptor adaptor,
java.sql.SQLException cause)
Constructor to wrap an SQLException
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRawErrorCode()
Get the database specific error code.
|
public DatabaseException(java.lang.String message,
DatabaseAdaptor adaptor,
java.sql.SQLException cause)
message - The exception messageadaptor - The database adaptor to use to interpret the SQLExceptioncause - The cause of the exception