javax.rules
Class InvalidRuleSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.rules.RuleException
javax.rules.RuleExecutionException
javax.rules.InvalidRuleSessionException
- All Implemented Interfaces:
- java.io.Serializable
- public class InvalidRuleSessionException
- extends RuleExecutionException
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 occured 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).
- See Also:
StatefulRuleSession
,
StatelessRuleSession
,
Serialized Form
Constructor Summary |
InvalidRuleSessionException(java.lang.String message)
Creates a InvalidRuleSessionException with a given message. |
InvalidRuleSessionException(java.lang.String message,
java.lang.Exception exception)
Creates a InvalidRuleSessionException with a given message and
nested exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidRuleSessionException
public InvalidRuleSessionException(java.lang.String message)
- Creates a InvalidRuleSessionException with a given message.
- Parameters:
message
- the exception message.
InvalidRuleSessionException
public InvalidRuleSessionException(java.lang.String message,
java.lang.Exception exception)
- Creates a InvalidRuleSessionException with a given message and
nested exception.
- Parameters:
message
- The exception message.exception
- The nested exception.
Copyright © 2004 Java Community Process. All Rights Reserved.