org.csapi.jr.se.mmm
Class GetMessageHeadersErrEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.csapi.jr.se.mmm.GetMessageHeadersErrEvent
All Implemented Interfaces:
java.io.Serializable

public final class GetMessageHeadersErrEvent
extends java.util.EventObject

Event created by an activity object to indicate that a Gateway originated call to the getMessageHeadersErr() method on the callback interface has occurred.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GetMessageHeadersErrEvent(java.lang.Object source, MessagingError error, java.lang.String errorDetails)
          Constructor for the GetMessageHeadersErrEvent Event.
 
Method Summary
 MessagingError getError()
          This method is used to retrieve the parameter value of 'error' passed up from the Gateway in it's call to the getMessageHeadersErr() method, used on the creation of this event.
 java.lang.String getErrorDetails()
          This method is used to retrieve the parameter value of 'errorDetails' passed up from the Gateway in it's call to the getMessageHeadersErr() method, used on the creation of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetMessageHeadersErrEvent

public GetMessageHeadersErrEvent(java.lang.Object source,
                                 MessagingError error,
                                 java.lang.String errorDetails)
Constructor for the GetMessageHeadersErrEvent Event.

Parameters:
source - Reference to the object firing the event.
Method Detail

getError

public MessagingError getError()
This method is used to retrieve the parameter value of 'error' passed up from the Gateway in it's call to the getMessageHeadersErr() method, used on the creation of this event.

Returns:
The value of 'error' used on creation of this event.

getErrorDetails

public java.lang.String getErrorDetails()
This method is used to retrieve the parameter value of 'errorDetails' passed up from the Gateway in it's call to the getMessageHeadersErr() method, used on the creation of this event.

Returns:
The value of 'errorDetails' used on creation of this event.