Class DatabaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.murmelmeister.library.exceptions.DatabaseException
- All Implemented Interfaces:
Serializable
This class represents an exception thrown when there is an error related to database operations in the Murmel library.
It extends
RuntimeException to allow for unchecked exceptions that can be thrown during runtime.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseException(String message) Constructs a new DatabaseException with the specified detail message.DatabaseException(String message, Throwable cause) Constructs a new DatabaseException with the specified detail message and cause.DatabaseException(Throwable cause) Constructs a new DatabaseException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DatabaseException
Constructs a new DatabaseException with the specified detail message.- Parameters:
message- The detail message for this exception
-
DatabaseException
Constructs a new DatabaseException with the specified detail message and cause.- Parameters:
message- The detail message for this exceptioncause- The cause of the exception, which can be retrieved later via theThrowable.getCause()method
-
DatabaseException
Constructs a new DatabaseException with the specified cause.- Parameters:
cause- The cause of the exception, which can be retrieved later via theThrowable.getCause()method
-