Business Rule Beans (BRBeans) defines one general exception class for exceptions that might be exposed to the user. All other BRBeans exceptions inherit from this class. The name of this class is com.ibm.websphere.brb.BusinessRuleBeansException. A BusinessRuleBeansException is generally thrown when an unexpected error occurs within BRBeans. A BusinessRuleBeansException might have information in it about the original exception that caused the error. Doing a printStackTrace on the BusinessRuleBeansException prints out this information and the stack trace for the BusinessRuleBeansException itself. Also, there are methods to access the original exception programmatically, if desired.
BRBeans also defines a ConstraintViolationException, which extends BusinessRuleBeansException. A ConstraintViolationException is thrown if the ThrowViolationCombiningStrategy is specified on the TriggerPoint and the rule returns a false value (either a ConstraintReturn or a boolean).
Finally, BRBeans defines two exceptions, NoRuleFoundException and MultipleRulesFoundException, that are thrown by some of the predefined filtering strategies if an unexpected number of rules is found on a trigger point call. These two exceptions both extend UnexpectedRulesFoundException which, in turn, extends BusinessRuleBeansException.