Class DatabaseException

All Implemented Interfaces:
Serializable

public class DatabaseException extends BaseException
Exceptions of this type are thrown when there is an error from the database.
Version:
2.0
Author:
Samuel
See Also:
  • Field Details

  • Constructor Details

    • DatabaseException

      public DatabaseException()
      Create a new DatabaseException object.
    • DatabaseException

      public DatabaseException(String message)
      Create a new DatabaseException object with the specified message.
      Parameters:
      message - The message to throw with the exception
    • DatabaseException

      public DatabaseException(String message, Throwable cause)
      Create a new DatabaseException object with the specified message
      Parameters:
      message - The message to throw with the exception
      cause - The original exception
    • DatabaseException

      public DatabaseException(Throwable cause)
      Create a new DatabaseException object acting as a wrapper for another exception that caused the error.
      Parameters:
      cause - The original exception