Class SQLNestedException

  • All Implemented Interfaces:
    Serializable, Iterable<Throwable>

    public class SQLNestedException
    extends SQLException
    Deprecated.
    Use '(SQLException) new SQLException(msg).initCause(e)' instead; this class will be removed in DBCP 2.0
    A SQLException subclass containing another Throwable
    Version:
    $Revision: 894583 $ $Date: 2009-12-30 05:48:07 -0500 (Wed, 30 Dec 2009) $
    Author:
    Dirk Verbeeck
    See Also:
    Serialized Form
    • Constructor Detail

      • SQLNestedException

        public SQLNestedException​(String msg,
                                  Throwable cause)
        Deprecated.
        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