uk.org.ury.database.exceptions
Class QueryFailureException

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

public class QueryFailureException
extends java.lang.Exception

Exception thrown when the database backend fails to execute a query.

Author:
Matt Windsor
See Also:
Serialized Form

Constructor Summary
QueryFailureException()
          Construct a new QueryFailureException with a default reason.
QueryFailureException(java.lang.String reason)
          Construct a new QueryFailureException.
 
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

QueryFailureException

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


QueryFailureException

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

Parameters:
reason - The explanation for the exception.