@ParametersAreNonnullByDefault public class DatabaseException extends RuntimeException
Constructor and Description |
---|
DatabaseException()
Constructs an
DatabaseException with null as its error detail message. |
DatabaseException(String message)
Constructs an
DatabaseException with the specified detail message . |
DatabaseException(String message,
Throwable cause)
Constructs an
DatabaseException with the specified detail message and cause . |
DatabaseException(Throwable cause)
Constructs an
DatabaseException with the specified cause and its detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DatabaseException()
DatabaseException
with null
as its error detail message.public DatabaseException(String message)
DatabaseException
with the specified detail message
.message
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method)public DatabaseException(Throwable cause)
DatabaseException
with the specified cause
and its detail message.cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null
value is permitted, and indicates that the cause is nonexistent or unknown.)public DatabaseException(String message, Throwable cause)
DatabaseException
with the specified detail message
and cause
.
The detail message associated with cause is not automatically incorporated into this exception's detail message.
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method)cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null
value is permitted, and indicates that the cause is nonexistent or unknown.)Copyright © 2013–2019 Atlanmod. All rights reserved.