org.csapi.jr.se.am
Class DestroyVoucherErrEvent

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

public final class DestroyVoucherErrEvent
extends java.util.EventObject

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DestroyVoucherErrEvent(java.lang.Object source, VoucherError cause)
          Constructor for the DestroyVoucherErrEvent Event.
 
Method Summary
 VoucherError getCause()
          This method is used to retrieve the parameter value of 'cause' passed up from the Gateway in it's call to the destroyVoucherErr() 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

DestroyVoucherErrEvent

public DestroyVoucherErrEvent(java.lang.Object source,
                              VoucherError cause)
Constructor for the DestroyVoucherErrEvent Event.

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

getCause

public VoucherError getCause()
This method is used to retrieve the parameter value of 'cause' passed up from the Gateway in it's call to the destroyVoucherErr() method, used on the creation of this event.

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