com.ibatis.common.jdbc.exception
Class NestedSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.ibatis.common.jdbc.exception.NestedSQLException
- All Implemented Interfaces:
- java.io.Serializable
- public class NestedSQLException
- extends java.sql.SQLException
- See Also:
- Serialized Form
Field Summary |
private java.lang.Throwable |
cause
|
private static java.lang.String |
CAUSED_BY
|
Fields inherited from class java.sql.SQLException |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
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 |
CAUSED_BY
private static final java.lang.String CAUSED_BY
- See Also:
- Constant Field Values
cause
private java.lang.Throwable cause
NestedSQLException
public NestedSQLException(java.lang.String msg)
- Constructor
NestedSQLException
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState)
NestedSQLException
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
NestedSQLException
public NestedSQLException(java.lang.String msg,
java.lang.Throwable cause)
NestedSQLException
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
java.lang.Throwable cause)
NestedSQLException
public NestedSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode,
java.lang.Throwable cause)
NestedSQLException
public NestedSQLException(java.lang.Throwable cause)
getCause
public java.lang.Throwable getCause()
- Gets the causing exception, if any.
toString
public java.lang.String toString()
printStackTrace
public void printStackTrace()
printStackTrace
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)