gov.nih.nci.system.dao
Class QueryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.nih.nci.system.applicationservice.ApplicationException
              extended by gov.nih.nci.system.dao.DAOException
                  extended by gov.nih.nci.system.dao.QueryException
All Implemented Interfaces:
java.io.Serializable

public class QueryException
extends DAOException

This exception is thrown by all the methods of the ApplicationService interface. This exception contains the actual error or the error message of the business error that occured during processing the request.

Author:
Ekagra Software Technologies Ltd.
See Also:
Serialized Form

Constructor Summary
QueryException()
          Default constructor.
QueryException(java.lang.String message)
          Constructs the QueryException object with the passed message
QueryException(java.lang.String message, java.lang.Throwable cause)
          Constructs the QueryException object with the passed message.
QueryException(java.lang.Throwable cause)
          Constructs the QueryException object storing the actual exception that occured
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryException

public QueryException()
Default constructor. Constructs the (@link QueryException) object


QueryException

public QueryException(java.lang.String message)
Constructs the QueryException object with the passed message

Parameters:
message - The message which is describes the exception caused

QueryException

public QueryException(java.lang.String message,
                      java.lang.Throwable cause)
Constructs the QueryException object with the passed message. It also stores the actual exception that occured

Parameters:
message - The message which describes the exception
cause - The actual exception that occured

QueryException

public QueryException(java.lang.Throwable cause)
Constructs the QueryException object storing the actual exception that occured

Parameters:
cause - The actual exception that occured