Package de.gmxhome.conrad.jpos.jpos_base
Class UnitInputErrorEvent
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
de.gmxhome.conrad.jpos.jpos_base.UnitInputErrorEvent
- All Implemented Interfaces:
Serializable
Subsystem unit input error event class. Holds unit and error message.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.UnitOutputErrorEvent
UnitsFields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposErrorEvent
MessageFields inherited from class jpos.events.ErrorEvent
errorCode, errorCodeExtended, errorLocus, errorResponseFields inherited from class jpos.events.JposEvent
sequenceNumberFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionUnitInputErrorEvent(JposBase source, int errorcode, int extended, int units, String text)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns an input data event corresponding to the given event.voidSets the error properties stored within the JposErrorEvent into the JposCommonProperties object stored in Source.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.UnitOutputErrorEvent
toLogStringMethods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposErrorEvent
clear, getPropertySet, setErrorResponseMethods inherited from class jpos.events.ErrorEvent
getErrorCode, getErrorCodeExtended, getErrorLocus, getErrorResponseMethods inherited from class jpos.events.JposEvent
getSequenceNumber, getWhen, incrSequenceNumber, updateSequenceNumberMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
UnitInputErrorEvent
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:JposErrorEventSets the error properties stored within the JposErrorEvent into the JposCommonProperties object stored in Source. The corresponding properties must be defined within derived classes.- Overrides:
setErrorPropertiesin classUnitOutputErrorEvent
-
getInputDataErrorEvent
Description copied from class:JposErrorEventReturns an input data event corresponding to the given event. Will be created automatically within input event handler.- Overrides:
getInputDataErrorEventin classJposErrorEvent- Returns:
- JposErrorEvent with locus input data.
-