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
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
-
Field Summary
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
ConstructorsConstructorDescriptionRFIDScannerErrorEvent(JposBase source, int errorcode, int extended, int locus)
Constructor.RFIDScannerErrorEvent(JposBase source, int errorcode, int extended, int locus, String message)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the error properties stored within the JposErrorEvent into the JposCommonProperties object stored in Source.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposErrorEvent
clear, getInputDataErrorEvent, getPropertySet, setErrorResponse, toLogString
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
-
Constructor Details
-
RFIDScannerErrorEvent
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 classJposErrorEvent
-