com.ibatis.common.jdbc.exception
public class RuntimeSQLException extends RuntimeException
| Constructor Summary | |
|---|---|
| RuntimeSQLException()
Default constructor | |
| RuntimeSQLException(String msg)
Constructor to pass along a message | |
| RuntimeSQLException(SQLException sqlException)
Constructor to pass along another exception | |
| 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 |
Parameters: msg - the message
Parameters: sqlException - the exception
Parameters: msg - the message sqlException - the exception
Returns: - the error code
Returns: - the next exception
Returns: - the state
Parameters: ex - the next exception