|
||||||
| 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.sql.SQLException
org.apache.commons.dbcp.SQLNestedException
public class SQLNestedException
A SQLException subclass containing another Throwable
| Constructor Summary | |
|---|---|
SQLNestedException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new SQLNestedException with specified
detail message and nested Throwable. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
|
void |
printStackTrace(java.io.PrintStream s)
|
void |
printStackTrace(java.io.PrintWriter s)
|
| Methods inherited from class java.sql.SQLException |
|---|
getErrorCode, getNextException, getSQLState, iterator, setNextException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SQLNestedException(java.lang.String msg,
java.lang.Throwable cause)
SQLNestedException with specified
detail message and nested Throwable.
msg - the error messagecause - the exception or error that caused this exception to be
thrown| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwable
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||