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
Deprecated. Use '(SQLException) new SQLException(msg).initCause(e)' instead; this class will be removed in DBCP 1.4
public class SQLNestedException
- extends SQLException
A SQLException subclass containing another Throwable
- Version:
- $Revision: 559119 $ $Date: 2007-07-24 10:24:03 -0700 (Tue, 24 Jul 2007) $
- Author:
- Dirk Verbeeck
- See Also:
- Serialized Form
|
Constructor Summary |
SQLNestedException(String msg,
Throwable cause)
Deprecated. Constructs a new SQLNestedException with specified
detail message and nested Throwable. |
SQLNestedException
public SQLNestedException(String msg,
Throwable cause)
- Deprecated.
- Constructs a new
SQLNestedException with specified
detail message and nested Throwable.
- Parameters:
msg - the error messagecause - the exception or error that caused this exception to be
thrown
getCause
public Throwable getCause()
- Deprecated.
- Overrides:
getCause in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Deprecated.
- Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace(PrintWriter s)
- Deprecated.
- Overrides:
printStackTrace in class Throwable
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.