|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibatis.common.jdbc.exception.RuntimeSQLException
public class RuntimeSQLException
Unchecked exception to allow passing an Exception with the original SQLException
| 构造器摘要 | |
|---|---|
RuntimeSQLException()
Default constructor |
|
RuntimeSQLException(java.sql.SQLException sqlException)
Constructor to pass along another exception |
|
RuntimeSQLException(java.lang.String msg)
Constructor to pass along a message |
|
RuntimeSQLException(java.lang.String msg,
java.sql.SQLException sqlException)
Constructor to pass along a message and an exception |
|
| 方法摘要 | |
|---|---|
int |
getErrorCode()
Getter for the error code |
java.sql.SQLException |
getNextException()
Get the next exception in the chain |
java.lang.String |
getSQLState()
Getter for the SQL State |
void |
setNextException(java.sql.SQLException ex)
Set the next exception in the chain |
| 类方法继承: 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 RuntimeSQLException()
public RuntimeSQLException(java.lang.String msg)
msg - - the messagepublic RuntimeSQLException(java.sql.SQLException sqlException)
sqlException - - the exception
public RuntimeSQLException(java.lang.String msg,
java.sql.SQLException sqlException)
msg - - the messagesqlException - - the exception| 方法详细信息 |
|---|
public java.lang.String getSQLState()
public int getErrorCode()
public java.sql.SQLException getNextException()
public void setNextException(java.sql.SQLException ex)
ex - - the next exception
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||