public class MExceptionEvent extends MEvent
MEvent
subclass that is dispatched during exception
conditions when an exception would not be useful.
The SDK dispatches this event to the callers callback when it receives a message that is not of the expected wire format.
For information about the SDK wireformat, see TIBCO Adapter SDK Concepts.
This event is dispatched by MSubscriber
.
Constructor and Description |
---|
MExceptionEvent(MSubscriberEventSource source,
MDataEvent dataEvent) |
Modifier and Type | Method and Description |
---|---|
void |
confirm()
Confirm that an event has been consumed.
|
MTree |
getData()
Retrieve the data for this event.
|
MException |
getException()
Return the
MException associated with this MExceptionEvent . |
void |
setState(MException exception,
MTree pData)
Internal Use: set the Exception Event information
|
void |
setState(MRuntimeException p_exception,
MTree p_data) |
public MExceptionEvent(MSubscriberEventSource source, MDataEvent dataEvent)
public void confirm() throws MException
MException
public MTree getData()
public MException getException()
MException
associated with this MExceptionEvent
.public void setState(MException exception, MTree pData)
public void setState(MRuntimeException p_exception, MTree p_data)