|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
org.jaffa.exceptions.FrameworkException
org.jaffa.rules.RulesEngineException
This exception is thrown if an error occurs in the Dynamic Rules Engine. It'll typically wrap a source exception.
| 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 |
public static final String LOADING_RULES_FAILED
public static final String FIELD_READ_FAILED
public static final String RULE_INVOCATION_FAILED
| Constructor Detail |
public RulesEngineException(String subCode)
subCode - The reason for the exception. This should be on of the statics defined in this class.
public RulesEngineException(String subCode,
Object[] arguments)
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.
public RulesEngineException(String subCode,
Object[] arguments,
Throwable cause)
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.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||