org.apache.commons.dbcp

Class SQLNestedException


public class SQLNestedException
extends SQLException

A SQLException subclass containing another Throwable
Version:
$Revision: 1.8 $ $Date: 2004/02/28 12:18:17 $
Author:
Dirk Verbeeck

Constructor Summary

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

Method Summary

Throwable
getCause()
void
printStackTrace(PrintStream s)
void
printStackTrace(PrintWriter s)

Constructor Details

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 Details

getCause

public Throwable getCause()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)

Copyright © 2001-2003 Apache Software Foundation. Documenation generated January 16 2006.