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, ValidationException
public class DBException
- extends RuntimeException
Generic exception wrapper for all things DB.
- Author:
- Igor Polevoy
- See Also:
- Serialized Form
DBException
public DBException(Throwable cause)
DBException
public DBException(String message)
DBException
public DBException(String message,
Throwable cause)
DBException
public DBException(String query,
Object[] params,
Throwable cause)
- Parameters:
query - SQL queryparams - - array of parameters, can be nullcause - real cause.
DBException
public DBException()
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
Copyright © 2015 JavaLite. All rights reserved.