Package com.mckoi.database
Class DatabaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.mckoi.database.DatabaseException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
UserAccessException
public class DatabaseException extends java.lang.Exception
Exception thrown where various problems occur within the database.- Author:
- Tobias Downer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseException(int error_code, java.lang.String message)
DatabaseException(java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
Returns the error code.
-