org.jaffa.exceptions
Class FrameworkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
org.jaffa.exceptions.FrameworkException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DomainObjectValidationException, MiddlewareException, MouldException, RulesEngineException, UOWException, VoucherGeneratorException
- public abstract class FrameworkException
- extends CustomException
This is the base exception class for all framework exceptions.
Any specific framework exception should extend this and wrapper a unique error code.
- See Also:
- Serialized Form
FrameworkException
protected FrameworkException(String errorCode)
- Creates an exception with the errorCode.
- Parameters:
errorCode - the errorCode
FrameworkException
protected FrameworkException(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.
FrameworkException
protected FrameworkException(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.