org.jaffa.rules
Class RulesEngineException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaffa.exceptions.CustomException
              extended byorg.jaffa.exceptions.FrameworkException
                  extended byorg.jaffa.rules.RulesEngineException
All Implemented Interfaces:
Serializable

public class RulesEngineException
extends FrameworkException

This exception is thrown if an error occurs in the Dynamic Rules Engine. It'll typically wrap a source exception.

See Also:
Serialized Form

Field Summary
static String FIELD_READ_FAILED
          One of the reasons for throwing this exception
static String LOADING_RULES_FAILED
          One of the reasons for throwing this exception
static String RULE_INVOCATION_FAILED
          One of the reasons for throwing this exception
 
Fields inherited from class org.jaffa.exceptions.CustomException
m_arguments
 
Constructor Summary
RulesEngineException(String subCode)
          Creates an exception with the errorCode.
RulesEngineException(String subCode, Object[] arguments)
          Creates an exception with the errorCode and a cause.
RulesEngineException(String subCode, 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
 

Field Detail

LOADING_RULES_FAILED

public static final String LOADING_RULES_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values

FIELD_READ_FAILED

public static final String FIELD_READ_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values

RULE_INVOCATION_FAILED

public static final String RULE_INVOCATION_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values
Constructor Detail

RulesEngineException

public RulesEngineException(String subCode)
Creates an exception with the errorCode.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.

RulesEngineException

public RulesEngineException(String subCode,
                            Object[] arguments)
Creates an exception with the errorCode and a cause.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.
arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.

RulesEngineException

public RulesEngineException(String subCode,
                            Object[] arguments,
                            Throwable cause)
Creates an exception with the errorCode and a cause.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.
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.