Class RFIDScannerErrorEvent

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.rfidscanner.RFIDScannerErrorEvent
All Implemented Interfaces:
Serializable

public class RFIDScannerErrorEvent extends JposErrorEvent
Error event implementation for RFIDScanner devices. Extends JposErrorEvent for RFIDScanner input errors: Even if no error properties exist, data properties (CurrentTagID, CurrentTagUserData, CurrentTagProtocol and TagCount) will be cleared.
See Also:
Serialized Form
  • Constructor Details

    • RFIDScannerErrorEvent

      public RFIDScannerErrorEvent(JposBase source, int errorcode, int extended, int locus)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      errorcode - ErrorCode, see UPOS specification, chapter Common Properties, Methods, and Events - Events - ErrorEvent.
      extended - ErrorCodeExtended, see UPOS specification, chapter Common Properties, Methods, and Events - Events - ErrorEvent.
      locus - ErrorLocus, see UPOS specification, chapter Common Properties, Methods, and Events - Events - ErrorEvent.
    • RFIDScannerErrorEvent

      public RFIDScannerErrorEvent(JposBase source, int errorcode, int extended, int locus, String message)
      Constructor. Parameters passed to base class unchanged.
      Parameters:
      source - Source, for services implemented with this framework, the (deviceclass.)DeviceClassService object.
      errorcode - ErrorCode, see UPOS specification, chapter Common Properties, Methods, and Events - Events - ErrorEvent.
      extended - ErrorCodeExtended, see UPOS specification, chapter Common Properties, Methods, and Events - Events - ErrorEvent.
      locus - ErrorLocus, see UPOS specification, chapter Common Properties, Methods, and Events - Events - ErrorEvent.
      message - Error message from exception.
  • 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