Class Errors.DatabaseException

All Implemented Interfaces:
Serializable
Enclosing class:
Errors

public static class Errors.DatabaseException extends Errors.VitalStrikeException
Exception for database-related errors
See Also:
  • Constructor Details

    • DatabaseException

      public DatabaseException(String message)
      Creates a new DatabaseException with the specified message
      Parameters:
      message - the error message
    • DatabaseException

      public DatabaseException(String message, Throwable cause)
      Creates a new DatabaseException with the specified message and cause
      Parameters:
      message - the error message
      cause - the cause of the error
    • DatabaseException

      public DatabaseException(String message, Errors.ErrorCode specificErrorCode)
      Creates a new DatabaseException with the specified message and error code
      Parameters:
      message - the error message
      specificErrorCode - the specific error code for this exception