public final class DatabaseException extends Exception
Constructor and Description |
---|
DatabaseException(String message)
Constructs a new exception with a specified message.
|
DatabaseException(String message,
Throwable cause)
Constructs a new exception with the specified cause.
|
DatabaseException(Throwable cause)
Constructs a new exception with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DatabaseException(String message)
message
- the text describing the exception.public DatabaseException(Throwable cause)
cause
- the cause of the exception.