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 Details

    • Station

      public final int Station
      Printer 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.
  • 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.