Save This Page
Home » commons-dbcp-1.2.2-src » org.apache.commons » dbcp » [javadoc | source]
org.apache.commons.dbcp
public class: SQLNestedException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.sql.SQLException
            org.apache.commons.dbcp.SQLNestedException

All Implemented Interfaces:
    Iterable, Serializable

A SQLException subclass containing another Throwable
Constructor:
 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 from org.apache.commons.dbcp.SQLNestedException Summary:
getCause,   printStackTrace,   printStackTrace
Methods from java.sql.SQLException:
getErrorCode,   getNextException,   getSQLState,   iterator,   setNextException
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.dbcp.SQLNestedException Detail:
 public Throwable getCause() 
 public  void printStackTrace(PrintStream s) 
 public  void printStackTrace(PrintWriter s)