Class DatabaseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.murmelmeister.library.exceptions.DatabaseException
All Implemented Interfaces:
Serializable

public class DatabaseException extends RuntimeException
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 Details

    • DatabaseException

      public DatabaseException(String message)
      Constructs a new DatabaseException with the specified detail message.
      Parameters:
      message - The detail message for this exception
    • DatabaseException

      public DatabaseException(String message, Throwable cause)
      Constructs a new DatabaseException with the specified detail message and cause.
      Parameters:
      message - The detail message for this exception
      cause - The cause of the exception, which can be retrieved later via the Throwable.getCause() method
    • DatabaseException

      public DatabaseException(Throwable cause)
      Constructs a new DatabaseException with the specified cause.
      Parameters:
      cause - The cause of the exception, which can be retrieved later via the Throwable.getCause() method