javax.slee.resource
Class IllegalEventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.slee.SLEEException
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. |
| 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 |
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 © 2008. All Rights Reserved.