public class DatabaseException extends BaseException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
DatabaseException()
Create a new
DatabaseException object. |
DatabaseException(String message)
Create a new
DatabaseException object with the
specified message . |
DatabaseException(String message,
Throwable cause)
Create a new
DatabaseException object with the
specified message |
DatabaseException(Throwable cause)
Create a new
DatabaseException object acting as a
wrapper for another exception that caused the error. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public DatabaseException()
DatabaseException
object.public DatabaseException(String message)
DatabaseException
object with the
specified message
.message
- The message to throw with the exceptionpublic DatabaseException(String message, Throwable cause)
DatabaseException
object with the
specified message
message
- The message to throw with the exceptioncause
- The original exceptionpublic DatabaseException(Throwable cause)
DatabaseException
object acting as a
wrapper for another exception that caused the error.cause
- The original exception