|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.ibatis.common.jdbc.exception.NestedSQLException
Class to allow passing an Exception with the original SQLException
| Constructor Summary | |
NestedSQLException(java.lang.String msg)
Constructor from java.sql.SQLException |
|
NestedSQLException(java.lang.String reason,
java.lang.String SQLState)
Constructor from java.sql.SQLException |
|
NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
Constructor from java.sql.SQLException |
|
NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode,
java.lang.Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
java.lang.Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
NestedSQLException(java.lang.String msg,
java.lang.Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
NestedSQLException(java.lang.Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Gets the causing exception, if any. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream ps)
|
void |
printStackTrace(java.io.PrintWriter pw)
|
java.lang.String |
toString()
|
| Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NestedSQLException(java.lang.String msg)
msg - - the message for the exceptionSQLException
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState)
reason - - the reason for the exceptionSQLState - - the SQLStateSQLException
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
reason - - the reason for the exceptionSQLState - - the SQLStatevendorCode - - a vendor supplied code to go w/ the messageSQLException
public NestedSQLException(java.lang.String msg,
java.lang.Throwable cause)
msg - - the message for the exceptioncause - - the cause of the exception
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
java.lang.Throwable cause)
reason - - the reason for the exceptionSQLState - - the SQLStatecause - - the cause of the exceptionSQLException
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode,
java.lang.Throwable cause)
reason - - the reason for the exceptionSQLState - - the SQLStatevendorCode - - a vendor supplied code to go w/ the messagecause - - the cause of the exceptionpublic NestedSQLException(java.lang.Throwable cause)
cause - - the cause of the exception| Method Detail |
public java.lang.Throwable getCause()
public java.lang.String toString()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream ps)
public void printStackTrace(java.io.PrintWriter pw)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||