org.apache.commons.dbcp

Class SQLNestedException

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

Constructor Summary
SQLNestedException(String msg, Throwable cause)
Constructs a new SQLNestedException with specified detail message and nested Throwable.
Method Summary
ThrowablegetCause()
voidprintStackTrace(PrintStream s)
voidprintStackTrace(PrintWriter s)

Constructor Detail

SQLNestedException

public SQLNestedException(String msg, Throwable cause)
Constructs a new SQLNestedException with specified detail message and nested Throwable.

Parameters: msg the error message cause the exception or error that caused this exception to be thrown

Method Detail

getCause

public Throwable getCause()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)
Copyright © 2001-2004 Apache Software Foundation. Documenation generated December 10 2007.