17.4. Javax.rules Exceptions

  • ConfigurationException
    This exception is thrown when a user configuration error has been made.
  • InvalidHandleException
    This exception is thrown when a client passes an invalid Handle to the rule engine.
  • InvalidRuleSessionException
    The InvalidRuleSessionException should be thrown when a method is invoked on a RuleSession and the internal state of the RuleSession is invalid. This may have occurred because a StatefulRuleSession has been serialized and external resources can no longer be accessed. This exception is also used to signal that a RuleSession is in an invalid state (such as an attempt to use it after the release method has been called) (Taken from JCP API Documentation).
  • RuleException
    Base class for all Exception classes in the javax.rules package.
  • RuleExecutionException
    This exception is not thrown in the Drools 3 JSR 94 implementation
  • RuleExecutionSetNotFoundException
    This exception is thrown if a client requests a RuleExecutionSet from the RuleRuntime and the URI or RuleExecutionSet cannot be found (Taken from JCP API Documentation).
  • RuleSessionCreateException
    This exception is thrown when a client requests a RuleSession from the RuleRuntime and an error occurs that prevents a RuleSession from being returned (Taken from JCP API Documentation).
  • RuleSessionTypeUnsupportedException
    This exception is thrown when a client requests a RuleSession and the vendor does not support the given type (defined in the RuleRuntime) or the RuleExecutionSet itself does not support the requested mode (Taken from JCP API Documentation).