org.jaffa.exceptions
Class ApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
org.jaffa.exceptions.ApplicationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ApplicationExceptionWithContext, ComponentExpiredException, DomainObjectChangedException, DomainObjectNotFoundException, DuplicateKeyException, IncompleteKeySpecifiedException, MultipleDomainObjectsFoundException, RelatedDomainObjectFoundException, TokenMismatchException, UserSessionSetupException, ValidationException
- public abstract class ApplicationException
- extends CustomException
This is the base class for all application related exceptions.
Any specific application exception should extend this and wrapper a unique error code.
- See Also:
- Serialized Form
ApplicationException
protected ApplicationException(String errorCode)
- Creates an exception with the errorCode.
- Parameters:
errorCode - the errorCode
ApplicationException
protected ApplicationException(String errorCode,
Object[] arguments)
- Creates an exception with the errorCode and a cause.
- Parameters:
errorCode - the errorCode.arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.
ApplicationException
protected ApplicationException(String errorCode,
Object[] arguments,
Throwable cause)
- Creates an exception with the errorCode and a cause.
- Parameters:
errorCode - the errorCode.arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.cause - the cause.
Copyright © 2002-2004 JAFFA Project.