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
A SQLException subclass containing another Throwable
- Version:
- $Revision: 479137 $ $Date: 2006-11-25 08:51:48 -0700 (Sat, 25 Nov 2006) $
- Author:
- Dirk Verbeeck
- See Also:
- Serialized Form
SQLNestedException
public SQLNestedException(String msg,
Throwable cause)
- 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()
- Overrides:
getCause
in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTrace
in class Throwable
Copyright © 2001-2004 Apache Software Foundation. Documenation generated January 26 2009.