uk.org.ury.database.exceptions
Class ConnectionFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.org.ury.database.exceptions.ConnectionFailureException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionFailureException
extends java.lang.Exception

Exception thrown when the database backend fails to connect to the database server, in absence of a more specific exception.

Author:
Matt Windsor
See Also:
Serialized Form

Constructor Summary
ConnectionFailureException()
          Construct a new ConnectionFailureException with a default reason.
ConnectionFailureException(java.lang.String reason)
          Construct a new ConnectionFailureException.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionFailureException

public ConnectionFailureException()
Construct a new ConnectionFailureException with a default reason.


ConnectionFailureException

public ConnectionFailureException(java.lang.String reason)
Construct a new ConnectionFailureException.

Parameters:
reason - The explanation for the exception.