Class FiscalPrinterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jpos.JposException
de.gmxhome.conrad.jpos.jpos_base.fiscalprinter.FiscalPrinterException
- All Implemented Interfaces:
Serializable
public class FiscalPrinterException
extends jpos.JposException
Fiscal printer exception class. Holds fiscal printer specific values to be passed to the application.
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Error level.int
Error state.int
Error station.Fields inherited from class jpos.JposException
errorCode, errorCodeExtended
-
Constructor Summary
ConstructorsConstructorDescriptionFiscalPrinterException(int error, int extension, String message, Exception e, int station, int level, int state)
Creates printer specific exception. -
Method Summary
Methods inherited from class jpos.JposException
getErrorCode, getErrorCodeExtended, getOrigException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
Station
public final int StationError station. In case of asynchronous processing, this value will be passed to the ErrorStation property. -
Level
public final int LevelError level. In case of asynchronous processing, this value will be passed to the ErrorLevel property. -
State
public final int StateError state. In case of asynchronous processing, this value will be passed to the ErrorState property.
-
-
Constructor Details
-
FiscalPrinterException
public FiscalPrinterException(int error, int extension, String message, Exception e, int station, int level, int state)Creates printer specific exception.- Parameters:
error
- Error code, see JposException.extension
- Extended error code, see JposException.message
- Error message, see JposException.e
- Source exception or null, see JposException.station
- Error station, see UPOS specification of property ErrorStation.level
- Error level, see UPOS specification of property ErrorLevel.state
- Error state, see UPOS specification of property ErrorLevel.
-