public class DBException extends RuntimeException
Constructor and Description |
---|
DBException() |
DBException(String message) |
DBException(String query,
Object[] params,
Throwable cause) |
DBException(String message,
Throwable cause) |
DBException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DBException(Throwable cause)
public DBException(String message)
public DBException(String query, Object[] params, Throwable cause)
query
- SQL queryparams
- - array of parameters, can be nullcause
- real cause.public DBException()
public String getMessage()
getMessage
in class Throwable
Copyright © 2016 JavaLite. All rights reserved.