Class UnitInputErrorEvent

java.lang.Object
java.util.EventObject
jpos.events.JposEvent
jpos.events.ErrorEvent
All Implemented Interfaces:
Serializable

public class UnitInputErrorEvent extends UnitOutputErrorEvent
Subsystem unit input error event class. Holds unit and error message.
See Also:
Serialized Form
  • Constructor Details

    • UnitInputErrorEvent

      public UnitInputErrorEvent(JposBase source, int errorcode, int extended, int units, String text)
      Constructor.
      Parameters:
      source - Source, for services implemented with this framework, the (class.)ClassService object.
      errorcode - Error code.
      extended - Extended errorcode.
      units - Display units that forced the event. Value to be stored in property EventUnits.
      text - Error message. Value to be stored in property EventString.
  • Method Details

    • setErrorProperties

      public void setErrorProperties()
      Description copied from class: JposErrorEvent
      Sets the error properties stored within the JposErrorEvent into the JposCommonProperties object stored in Source. The corresponding properties must be defined within derived classes.
      Overrides:
      setErrorProperties in class UnitOutputErrorEvent
    • getInputDataErrorEvent

      public JposErrorEvent getInputDataErrorEvent()
      Description copied from class: JposErrorEvent
      Returns an input data event corresponding to the given event. Will be created automatically within input event handler.
      Overrides:
      getInputDataErrorEvent in class JposErrorEvent
      Returns:
      JposErrorEvent with locus input data.