public class IlrUserRuntimeException extends IlrRuntimeException
This exception is thrown each time JRules detects an error at
runtime. This exception is thrown at runtime when user's
methods or constructors throw exceptions. These exceptions can
be declared exceptions (for example IOException) or
runtime exceptions
(for example ArrayIndexOutOfBoundsException).
There are two cases in processing this exception:
| Constructor and Description |
|---|
IlrUserRuntimeException(java.lang.Throwable target)
Constructs an exception using a target exception object thrown
by the JVM.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInActions()
Returns true if the exception occurs in the action part.
|
boolean |
isInConditions()
Returns true if the exception occurs in the condition part.
|
getMessage, getTargetException, getTargetMember, printHeader, printRuleStackTrace, printRuleStackTrace, printRuleStackTrace, printStackTrace, printStackTrace, printStackTracepublic IlrUserRuntimeException(java.lang.Throwable target)
Constructs an exception using a target exception object thrown by the JVM.
target - The target exception.public boolean isInConditions()
true if the target exception occurs in
the condition part, and false if the target exception
occurs in the action part.public boolean isInActions()
true if the target exception occurs in
the action part, and false if the target exception
occurs in the condition part.© Copyright IBM Corp. 1987, 2017