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
MSR error events, work partly similar to data events, depending on error level
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionObject 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
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
ConstructorsConstructorDescriptionMSRErrorEvent(JposBase source, int errorcode, int extended, Object data)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidSets 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, 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
-
Field Details
-
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
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: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 classJposErrorEvent
-
toLogString
Description copied from class:JposErrorEventGenerates string describing the error event for logging purposes.- Overrides:
toLogStringin classJposErrorEvent- Returns:
- Describing string.
-