|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||
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
| 构造器摘要 | |
|---|---|
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 |
|
| 方法摘要 |
|---|
| 类方法继承: java.sql.SQLException |
|---|
getErrorCode, getNextException, getSQLState, setNextException |
| 类方法继承: java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 类方法继承: java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造器详细信息 |
|---|
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
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||