org.jaffa.exceptions
Class FrameworkException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaffa.exceptions.CustomException
              extended byorg.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

Field Summary
 
Fields inherited from class org.jaffa.exceptions.CustomException
m_arguments
 
Constructor Summary
protected FrameworkException(String errorCode)
          Creates an exception with the errorCode.
protected FrameworkException(String errorCode, Object[] arguments)
          Creates an exception with the errorCode and a cause.
protected FrameworkException(String errorCode, Object[] arguments, Throwable cause)
          Creates an exception with the errorCode and a cause.
 
Methods inherited from class org.jaffa.exceptions.CustomException
getArguments, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

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.