Class POSPrinterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jpos.JposException
de.gmxhome.conrad.jpos.jpos_base.posprinter.POSPrinterException
- All Implemented Interfaces:
Serializable
public class POSPrinterException
extends jpos.JposException
Printer exception class. Holds printer specific values to be passed to the application.
- See Also:
- Serialized Form
-
Field Summary
FieldsFields inherited from class jpos.JposException
errorCode, errorCodeExtended
-
Constructor Summary
ConstructorsConstructorDescriptionPOSPrinterException(int error, int extension, String message, Exception e, int station, int level)
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 StationPrinter 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.
-
-
Constructor Details
-
POSPrinterException
public POSPrinterException(int error, int extension, String message, Exception e, int station, int level)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.
-