org.apache.commons.dbcp
Class DbcpException
public class DbcpException
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.
Version:
- Jonathan Fuerth
- Dan Fraser
DbcpException()- Construct a new runtime exception with
null as its
detail message.
|
DbcpException(java.lang.String message)- Construct a new runtime exception with the specified detail message.
|
DbcpException(java.lang.String message, java.lang.Throwable cause)- Construct a new runtime exception with the specified detail message
and cause.
|
DbcpException(java.lang.Throwable cause)- Construct a new runtime exception with the specified cause and a
detail message of
(cause == null ? null : cause.toString()).
|
DbcpException
public DbcpException()
Construct a new runtime exception with null as its
detail message.
DbcpException
public DbcpException(java.lang.String message)
Construct a new runtime exception with the specified detail message.
message - The detail message for this exception
DbcpException
public DbcpException(java.lang.String message,
java.lang.Throwable cause) Construct a new runtime exception with the specified detail message
and cause.
message - The detail message for this exceptioncause - The root cause for this exception
DbcpException
public DbcpException(java.lang.Throwable cause)
Construct a new runtime exception with the specified cause and a
detail message of (cause == null ? null : cause.toString()).
cause - The root cause for this exception
getCause
public Throwable getCause()
Return the root cause of this exception (if any).
Copyright © 2001-2003 Apache Software Foundation. Documenation generated February 28 2005.