Package org.apache.commons.dbcp
Class SQLNestedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- org.apache.commons.dbcp.SQLNestedException
-
- All Implemented Interfaces:
Serializable
,Iterable<Throwable>
public class SQLNestedException extends SQLException
Deprecated.Use '(SQLException) new SQLException(msg).initCause(e)' instead; this class will be removed in DBCP 2.0A SQLException subclass containing another Throwable- Version:
- $Revision: 894583 $ $Date: 2009-12-30 05:48:07 -0500 (Wed, 30 Dec 2009) $
- Author:
- Dirk Verbeeck
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SQLNestedException(String msg, Throwable cause)
Deprecated.Constructs a newSQLNestedException
with specified detail message and nestedThrowable
.
-
Method Summary
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-