Class UnitOutputErrorEvent

java.lang.Object
java.util.EventObject
jpos.events.JposEvent
jpos.events.ErrorEvent
de.gmxhome.conrad.jpos.jpos_base.JposErrorEvent
de.gmxhome.conrad.jpos.jpos_base.UnitOutputErrorEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnitInputErrorEvent

public class UnitOutputErrorEvent extends JposErrorEvent
Subsystem unit output error event class. Holds unit and error message.
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Subsystem units that forced the error.

    Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposErrorEvent

    Message

    Fields inherited from class jpos.events.ErrorEvent

    errorCode, errorCodeExtended, errorLocus, errorResponse

    Fields inherited from class jpos.events.JposEvent

    sequenceNumber

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnitOutputErrorEvent​(JposBase source, int errorcode, int extended, int units, String text)
    Constructor for output error event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the error properties stored within the JposErrorEvent into the JposCommonProperties object stored in Source.
    Generates string describing the error event for logging purposes.

    Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposErrorEvent

    clear, getInputDataErrorEvent, getPropertySet, setErrorResponse

    Methods inherited from class jpos.events.ErrorEvent

    getErrorCode, getErrorCodeExtended, getErrorLocus, getErrorResponse

    Methods inherited from class jpos.events.JposEvent

    getSequenceNumber, getWhen, incrSequenceNumber, updateSequenceNumber

    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
  • Field Details

    • Units

      public final int Units
      Subsystem units that forced the error. One bit per unit.
  • Constructor Details

    • UnitOutputErrorEvent

      public UnitOutputErrorEvent(JposBase source, int errorcode, int extended, int units, String text)
      Constructor for output error event.
      Parameters:
      source - Source, for services implemented with this framework, the (class.)ClassService object.
      errorcode - Error code.
      extended - Extended errorcode.
      units - Subsystem 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 JposErrorEvent
    • toLogString

      public String toLogString()
      Description copied from class: JposErrorEvent
      Generates string describing the error event for logging purposes.
      Overrides:
      toLogString in class JposErrorEvent
      Returns:
      Describing string.