|
||||||||||
| 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
public class NestedSQLException
Class to allow passing an Exception with the original SQLException
| Constructor Summary | |
|---|---|
NestedSQLException(String msg)
Constructor from java.sql.SQLException |
|
NestedSQLException(String reason,
String SQLState)
Constructor from java.sql.SQLException |
|
NestedSQLException(String reason,
String SQLState,
int vendorCode)
Constructor from java.sql.SQLException |
|
NestedSQLException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
NestedSQLException(String reason,
String SQLState,
Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
NestedSQLException(String msg,
Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
NestedSQLException(Throwable cause)
Constructor from java.sql.SQLException with added nested exception |
|
| Method Summary |
|---|
| Methods inherited from class java.sql.SQLException |
|---|
getErrorCode, getNextException, getSQLState, setNextException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NestedSQLException(String msg)
msg - - the message for the exceptionSQLException
public NestedSQLException(String reason,
String SQLState)
reason - - the reason for the exceptionSQLState - - the SQLStateSQLException
public NestedSQLException(String reason,
String SQLState,
int vendorCode)
reason - - the reason for the exceptionSQLState - - the SQLStatevendorCode - - a vendor supplied code to go w/ the messageSQLException
public NestedSQLException(String msg,
Throwable cause)
msg - - the message for the exceptioncause - - the cause of the exception
public NestedSQLException(String reason,
String SQLState,
Throwable cause)
reason - - the reason for the exceptionSQLState - - the SQLStatecause - - the cause of the exceptionSQLException
public NestedSQLException(String reason,
String SQLState,
int vendorCode,
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(Throwable cause)
cause - - the cause of the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||