Package org.javalite.activejdbc
Class DBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.javalite.activejdbc.DBException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NotAssociatedException
Generic exception wrapper for all things DB.
- Author:
- Igor Polevoy
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionDBException(String message)
DBException(String query, Object[] params, Throwable cause)
DBException(String message, Throwable cause)
DBException(Throwable cause)
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DBException
public DBException() -
DBException
-
DBException
-
DBException
-
DBException
- Parameters:
query
- SQL queryparams
- - array of parameters, can be nullcause
- real cause.
-