Subclass of RuntimeException that can be used to wrap
a SQLException using the "root cause" pattern of JDK 1.4
exceptions, but without requiring a 1.4 runtime environment.
author: Jonathan Fuerth author: Dan Fraser version: $Revision: 479137 $ $Date: 2006-11-25 08:51:48 -0700 (Sat, 25 Nov 2006) $
cause The root cause of this exception (typically an
SQLException but this is not required).
Constructor Summary
public
DbcpException() Construct a new runtime exception with null as its
detail message.
public
DbcpException(String message) Construct a new runtime exception with the specified detail message.
public
DbcpException(String message, Throwable cause) Construct a new runtime exception with the specified detail message
and cause.
public
DbcpException(Throwable cause) Construct a new runtime exception with the specified cause and a
detail message of (cause == null ? null : cause.toString()).
Construct a new runtime exception with the specified detail message
and cause.
Parameters: message - The detail message for this exception Parameters: cause - The root cause for this exception
Construct a new runtime exception with the specified cause and a
detail message of (cause == null ? null : cause.toString()).
Parameters: cause - The root cause for this exception