public class DBConnectionException
extends java.lang.Exception
Constructor and Description |
---|
DBConnectionException(java.lang.String message)
Create a new DBConnectionException with the given message.
|
DBConnectionException(java.lang.String message,
java.lang.Throwable cause)
Create an instance to wrap other exceptions.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
Return the underlying cause for the exception.
|
public DBConnectionException(java.lang.String message)
message
- The given message.public DBConnectionException(java.lang.String message, java.lang.Throwable cause)
message
- The exception message.cause
- The original exception.