javax.rules
Class InvalidHandleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.rules.RuleException
              extended byjavax.rules.RuleExecutionException
                  extended byjavax.rules.InvalidHandleException
All Implemented Interfaces:
java.io.Serializable

public class InvalidHandleException
extends RuleExecutionException

This exception should be thrown when a client passes an invalid Handle to the underlying rule engine. The Handle may be stale (the object it was referring to no longer exists) or may be of an instance that is not recognized by the rule engine.

See Also:
StatefulRuleSession, Serialized Form

Field Summary
 
Fields inherited from class javax.rules.RuleException
embeddedException
 
Constructor Summary
InvalidHandleException(java.lang.String message)
          Creates a InvalidHandleException with a given message.
InvalidHandleException(java.lang.String message, java.lang.Exception exception)
          Creates a InvalidHandleException with a given message and nested exception.
 
Methods inherited from class javax.rules.RuleException
getCause, printStackTrace, printStackTrace, printStackTrace, toString
 
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
 

Constructor Detail

InvalidHandleException

public InvalidHandleException(java.lang.String message)
Creates a InvalidHandleException with a given message.

Parameters:
message - the exception message.

InvalidHandleException

public InvalidHandleException(java.lang.String message,
                              java.lang.Exception exception)
Creates a InvalidHandleException with a given message and nested exception.

Parameters:
message - The exception message.
exception - The nested exception.


Copyright © 2004 Java Community Process. All Rights Reserved.