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 Details

    • Station

      public final int Station
      Error station. In case of asynchronous processing, this value will be passed to the ErrorStation property.
    • Level

      public final int Level
      Error level. In case of asynchronous processing, this value will be passed to the ErrorLevel property.
    • State

      public final int State
      Error 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.