org.apache.openjpa.lib.jdbc
public class: ReportingSQLException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.apache.openjpa.lib.jdbc.ReportingSQLException
All Implemented Interfaces:
Iterable, Serializable
A
SQLException that contains information about
the
Statement SQL that caused the exception.
- author:
Marc - Prud'hommeaux
- nojavadoc:
| Constructor: |
public ReportingSQLException(SQLException sqle,
String sql) {
this(sqle, null, sql);
}
|
public ReportingSQLException(SQLException sqle,
Statement stmnt) {
this(sqle, stmnt, null);
}
|
public ReportingSQLException(SQLException sqle,
Statement stmnt,
String sql) {
super(getExceptionMessage(sqle, stmnt, sql));
this._sqle = sqle;
this._stmnt = stmnt;
setNextException(sqle);
}
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |