org.liquidsite.util.db
Class DatabaseConnectionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.liquidsite.util.db.DatabaseConnectionException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseConnectionException
extends java.lang.Exception

A database connection exception. This exception is thrown when a connection to the database couldn't be established.

See Also:
Serialized Form

Constructor Summary
DatabaseConnectionException(java.lang.Exception cause)
          Creates a new database connection exception.
DatabaseConnectionException(java.lang.String message)
          Creates a new database connection exception.
DatabaseConnectionException(java.lang.String message, java.lang.Exception cause)
          Creates a new database connection exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseConnectionException

public DatabaseConnectionException(java.lang.String message)
Creates a new database connection exception.

Parameters:
message - the error message

DatabaseConnectionException

public DatabaseConnectionException(java.lang.Exception cause)
Creates a new database connection exception.

Parameters:
cause - the root cause to the error

DatabaseConnectionException

public DatabaseConnectionException(java.lang.String message,
                                   java.lang.Exception cause)
Creates a new database connection exception.

Parameters:
message - the error message
cause - the root cause to the error