com.ibatis.common.jdbc.exception
Class RuntimeSQLException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.ibatis.common.exception.NestedRuntimeException
                  extended bycom.ibatis.common.jdbc.exception.RuntimeSQLException
All Implemented Interfaces:
java.io.Serializable

public class RuntimeSQLException
extends NestedRuntimeException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibatis.common.exception.NestedRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
RuntimeSQLException()
           
RuntimeSQLException(java.sql.SQLException sqlException)
           
RuntimeSQLException(java.lang.String msg)
           
RuntimeSQLException(java.lang.String msg, java.sql.SQLException sqlException)
           
 
Method Summary
 int getErrorCode()
           
 java.sql.SQLException getNextException()
           
 java.lang.String getSQLState()
           
 void setNextException(java.sql.SQLException ex)
           
 
Methods inherited from class com.ibatis.common.exception.NestedRuntimeException
getCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeSQLException

public RuntimeSQLException()

RuntimeSQLException

public RuntimeSQLException(java.lang.String msg)

RuntimeSQLException

public RuntimeSQLException(java.sql.SQLException sqlException)

RuntimeSQLException

public RuntimeSQLException(java.lang.String msg,
                           java.sql.SQLException sqlException)
Method Detail

getSQLState

public java.lang.String getSQLState()

getErrorCode

public int getErrorCode()

getNextException

public java.sql.SQLException getNextException()

setNextException

public void setNextException(java.sql.SQLException ex)