public class DatabaseConnectionException extends StopConditionException
| Modifier and Type | Field and Description |
|---|---|
private Database |
database
Physical database name, which had a connection error.
|
| Constructor and Description |
|---|
DatabaseConnectionException(java.lang.String message,
Database database)
Constructor which accepts an error message.
|
DatabaseConnectionException(java.lang.String message,
java.lang.Throwable rootCause,
Database database)
Constructor which accepts an error message and a root cause.
|
DatabaseConnectionException(java.lang.Throwable rootCause,
Database database)
Constructor which accepts and wrappers a root cause.
|
| Modifier and Type | Method and Description |
|---|---|
Database |
getDatabase()
Get the database which had a connection error.
|
fillInStackTrace, getKeyCodeprivate Database database
public DatabaseConnectionException(java.lang.String message,
Database database)
message - Error message.database - The database with the connection error.public DatabaseConnectionException(java.lang.String message,
java.lang.Throwable rootCause,
Database database)
message - Error message.rootCause - Exception which has been caught in the course of processing.database - The database with the connection error.public DatabaseConnectionException(java.lang.Throwable rootCause,
Database database)
rootCause - Exception which has been caught in the course of processing.database - The database with the connection error.public Database getDatabase()