Class MSRErrorEvent

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.msr.MSRErrorEvent
All Implemented Interfaces:
Serializable

public class MSRErrorEvent extends JposErrorEvent
MSR error events, work partly similar to data events, depending on error level
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Object that contains all data that are necessary to fill data fields before event is really fired.

    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
    MSRErrorEvent​(JposBase source, int errorcode, int extended, Object data)
    Constructor.
  • 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

    • TrackData

      public final Object TrackData
      Object that contains all data that are necessary to fill data fields before event is really fired. Used when ErrorReportingType = MSR_ERT_TRACK.
  • Constructor Details

    • MSRErrorEvent

      public MSRErrorEvent(JposBase source, int errorcode, int extended, Object data)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (msr.)MSRService object.
      errorcode - Error code.
      extended - Extended errorcode.
      data - track data object
  • 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.