gov.nih.nci.system.applicationservice
Class ApplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.nih.nci.system.applicationservice.ApplicationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DAOException, TranslationException

public class ApplicationException
extends java.lang.Exception

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
ApplicationException()
          Default constructor.
ApplicationException(java.lang.String message)
          Constructs the ApplicationException object with the passed message
ApplicationException(java.lang.String message, java.lang.Throwable cause)
          Constructs the ApplicationException object with the passed message.
ApplicationException(java.lang.Throwable cause)
          Constructs the ApplicationException 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

ApplicationException

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


ApplicationException

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

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

ApplicationException

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

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

ApplicationException

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

Parameters:
cause - The actual exception that occured