javax.slee.resource
Class IllegalEventException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.slee.SLEEException
                  extended by javax.slee.resource.IllegalEventException
All Implemented Interfaces:
java.io.Serializable

public class IllegalEventException
extends SLEEException

This exception is thrown by the fire-event methods in SleeEndpoint if the Resource Adaptor attempts to fire an event with an illegal event identifier. An illegal event identifier is one which represents an event type that the Resource Adaptor is not permitted to fire. A Resource Adaptor may only fire events of event types referenced by the resource adaptor types it implements unless this restriction has been disabled in the resource adaptor's deployment descriptor.

Since:
SLEE 1.1
See Also:
Serialized Form

Constructor Summary
IllegalEventException(java.lang.String message)
          Create an IllegalEventException with a detail message.
IllegalEventException(java.lang.String message, java.lang.Throwable cause)
          Create an IllegalEventException with a detail message and cause.
 
Method Summary
 
Methods inherited from class javax.slee.SLEEException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalEventException

public IllegalEventException(java.lang.String message)
Create an IllegalEventException with a detail message.

Parameters:
message - the detail message.

IllegalEventException

public IllegalEventException(java.lang.String message,
                             java.lang.Throwable cause)
Create an IllegalEventException with a detail message and cause.

Parameters:
message - the detail message.
cause - the reason this exception was thrown.


Copyright © 2009. All Rights Reserved.