|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.sql.SQLException
|
+--com.caucho.jdbc.mysql.SQLExceptionWrapper
Wraps an exception in a SQLException wrapper.
| Constructor Summary | |
SQLExceptionWrapper(java.lang.String message)
Creates the wrapper with a message. |
|
SQLExceptionWrapper(java.lang.String message,
java.lang.Throwable e)
Creates the wrapper with a message and a root cause. |
|
SQLExceptionWrapper(java.lang.Throwable e)
Creates the wrapper with a root cause. |
|
| Method Summary | |
java.lang.Throwable |
getRootCause()
Returns the root cause. |
| Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
| 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 SQLExceptionWrapper(java.lang.String message)
public SQLExceptionWrapper(java.lang.String message,
java.lang.Throwable e)
message - the message.e - the rootCause exceptionpublic SQLExceptionWrapper(java.lang.Throwable e)
e - the rootCause exception| Method Detail |
public java.lang.Throwable getRootCause()
getRootCause in interface com.caucho.util.ExceptionWrapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||