|
||||||||||
| 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.lang.RuntimeException
com.ibatis.common.jdbc.exception.RuntimeSQLException
public class RuntimeSQLException
Unchecked exception to allow passing an Exception with the original SQLException
| Constructor Summary | |
|---|---|
RuntimeSQLException()
Default constructor |
|
RuntimeSQLException(SQLException sqlException)
Constructor to pass along another exception |
|
RuntimeSQLException(String msg)
Constructor to pass along a message |
|
RuntimeSQLException(String msg,
SQLException sqlException)
Constructor to pass along a message and an exception |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Getter for the error code |
SQLException |
getNextException()
Get the next exception in the chain |
String |
getSQLState()
Getter for the SQL State |
void |
setNextException(SQLException ex)
Set the next exception in the chain |
| 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 RuntimeSQLException()
public RuntimeSQLException(String msg)
msg - - the messagepublic RuntimeSQLException(SQLException sqlException)
sqlException - - the exception
public RuntimeSQLException(String msg,
SQLException sqlException)
msg - - the messagesqlException - - the exception| Method Detail |
|---|
public String getSQLState()
public int getErrorCode()
public SQLException getNextException()
public void setNextException(SQLException ex)
ex - - the next exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||