Package com.mckoi.database
Class DatabaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.mckoi.database.DatabaseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UserAccessException
Exception thrown where various problems occur within the database.
- Author:
- Tobias Downer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseException
(int error_code, String message) DatabaseException
(String message) -
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
-
DatabaseException
-
-
Method Details
-
getErrorCode
public int getErrorCode()Returns the error code. -1 means no error code was given.
-