Package stawa.vitalstrike
Class Errors.DatabaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
stawa.vitalstrike.Errors.VitalStrikeException
stawa.vitalstrike.Errors.DatabaseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
Errors
Exception for database-related errors
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseException(String message) Creates a new DatabaseException with the specified messageDatabaseException(String message, Throwable cause) Creates a new DatabaseException with the specified message and causeDatabaseException(String message, Errors.ErrorCode specificErrorCode) Creates a new DatabaseException with the specified message and error code -
Method Summary
Methods inherited from class stawa.vitalstrike.Errors.VitalStrikeException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DatabaseException
Creates a new DatabaseException with the specified message- Parameters:
message- the error message
-
DatabaseException
Creates a new DatabaseException with the specified message and cause- Parameters:
message- the error messagecause- the cause of the error
-
DatabaseException
Creates a new DatabaseException with the specified message and error code- Parameters:
message- the error messagespecificErrorCode- the specific error code for this exception
-