Class RuleException

All Implemented Interfaces:
Serializable

public class RuleException extends RuntimeException
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 Details

    • RuleException

      public RuleException()
      Creates an instance of RuleException.
    • RuleException

      public RuleException(String message)
      Creates an instance of RuleException.
      Parameters:
      message - error message
    • RuleException

      public RuleException(String message, Throwable cause)
      Creates an instance of RuleException.
      Parameters:
      message - error message
      cause - error cause