Package com.helixframework.rules.error
Class RuleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.helixframework.rules.error.RuleException
- All Implemented Interfaces:
Serializable
Exception that can be thrown from a rule invocation that will not cause rule evaluation to fail, but will instead
be added to the errors collection of the
RuleContext.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance ofRuleException.RuleException(String message) Creates an instance ofRuleException.RuleException(String message, Throwable cause) Creates an instance ofRuleException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuleException
public RuleException()Creates an instance ofRuleException. -
RuleException
Creates an instance ofRuleException.- Parameters:
message- error message
-
RuleException
Creates an instance ofRuleException.- Parameters:
message- error messagecause- error cause
-