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(java.lang.String message)
Create a new
DatabaseException object with the
specified message . |
DatabaseException(java.lang.String message,
java.lang.Throwable cause)
Create a new
DatabaseException object with the
specified message |
DatabaseException(java.lang.Throwable cause)
Create a new
DatabaseException object acting as a
wrapper for another exception that caused the error. |
private static final long serialVersionUID
public DatabaseException()
DatabaseException
object.public DatabaseException(java.lang.String message)
DatabaseException
object with the
specified message
.message
- The message to throw with the exceptionpublic DatabaseException(java.lang.String message, java.lang.Throwable cause)
DatabaseException
object with the
specified message
message
- The message to throw with the exceptioncause
- The original exceptionpublic DatabaseException(java.lang.Throwable cause)
DatabaseException
object acting as a
wrapper for another exception that caused the error.cause
- The original exception