|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.ip.me.api.services.MEException
com.sap.ip.me.api.pios.PIOSException
com.sap.ip.me.api.pios.printer.PrinterException
An exception thrown when an error occurs during printer operation.
Field Summary | |
static int |
BUSY_AFTER_PRINT
Constant to indicate printer busy after print. |
static int |
INVALID_ALIGNMENT
Constant to indicate invalid alignment value. |
static int |
INVALID_BARCODE_DATA
Constant to indicate invalid barcode data. |
static int |
INVALID_COORDINATES
Constant to indicate invalid coordinate value. |
static int |
INVALID_FONT_CONFIGURATION
Constant to indicate invalid font configuration. |
static int |
INVALID_FONT_ERROR
Constant to indicate invalid font value. |
static int |
INVALID_IMAGE_TYPE
Constant to indicate invalid image type. |
static int |
INVALID_LINE_THICKNESS
Constant to indicate invalid line thickness. |
static int |
INVALID_PARAMETER
Constant to indicate invalid parameter. |
static int |
INVALID_ROTATION
Constant to indicate invalid rotation value. |
static int |
PRINTER_UNSUPPORTED_IMAGETYPE
Constant to indicate unsupported image type. |
static int |
PRINTER_UNSUPPORTED_SYMBOLOGY
Constant to indicate unsupported symbology by the printer. |
static int |
UNABLE_TO_CALCULATE_METRICS
Constant to indicate that connection was unable to calculate size of a field. |
static int |
UNABLE_TO_CREATE_IMAGE
Constant to indicate that connection was unable to create image. |
static int |
UNABLE_TO_CREATE_JOB
Constant to indicate that connection was unable to start print operation. |
static int |
UNABLE_TO_DELETE_IMAGE
Constant to indicate that connection was unable to delete image. |
static int |
UNABLE_TO_DRAW_IMAGE
Constant to indicate that connection was unable to draw image. |
static int |
UNABLE_TO_OPEN_PRINTER
Constant to indicate that connection could not be open. |
static int |
UNABLE_TO_PRINT_JOB
Constant to indicate that connection was unable finish print operation. |
static int |
UNABLE_TO_QUERY_STATUS
Constant to indicate when connection is unable to query printer status. |
static int |
UNABLE_TO_UPLOAD_IMAGE
Constant to indicate that connection was unable to upload image to printer. |
static int |
UNKNOWN_PRINTER_ERROR
Constant to indicate unknown error occurred. |
Fields inherited from class com.sap.ip.me.api.pios.PIOSException |
ALREADY_CREATED, ALREADY_OPENED, CONFIGURATION_ERROR, GENERIC_ERROR, INVALID_OBJECT, INVALID_SYMBOLOGY, LIBRARY_NOT_LOADED, NOT_CREATED, NOT_OPENED, OUT_OF_MEMORY, SPECIFIC_PRINTER_ERROR, SPECIFIC_RFID_ERROR, SPECIFIC_SCANNER_ERROR, TIMEOUT, UNKNOWN_ERROR, UNSPECIFIED_ERROR, UNSUPPORTED |
Constructor Summary | |
PrinterException(int errorCode,
java.lang.String message)
Constructs a new PrinterException with the specified message. |
|
PrinterException(int errorCode,
java.lang.Throwable cause)
Constructs a new PrinterException with the specified error code and cause. |
|
PrinterException(java.lang.String message)
Constructs a new PrinterException with the specified message. |
|
PrinterException(java.lang.Throwable cause)
Constructs a new PrinterException based on the stack trace of the thrown exception. |
Methods inherited from class com.sap.ip.me.api.pios.PIOSException |
getErrorCode, getException |
Methods inherited from class com.sap.ip.me.api.services.MEException |
getNestedException, getReason, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN_PRINTER_ERROR
public static final int INVALID_FONT_ERROR
public static final int INVALID_PARAMETER
public static final int INVALID_FONT_CONFIGURATION
public static final int INVALID_COORDINATES
public static final int INVALID_ALIGNMENT
public static final int INVALID_ROTATION
public static final int INVALID_IMAGE_TYPE
public static final int INVALID_LINE_THICKNESS
public static final int UNABLE_TO_OPEN_PRINTER
public static final int UNABLE_TO_QUERY_STATUS
public static final int UNABLE_TO_CREATE_JOB
public static final int UNABLE_TO_PRINT_JOB
public static final int UNABLE_TO_CREATE_IMAGE
public static final int UNABLE_TO_UPLOAD_IMAGE
public static final int UNABLE_TO_DRAW_IMAGE
public static final int UNABLE_TO_DELETE_IMAGE
public static final int UNABLE_TO_CALCULATE_METRICS
public static final int PRINTER_UNSUPPORTED_SYMBOLOGY
public static final int PRINTER_UNSUPPORTED_IMAGETYPE
public static final int INVALID_BARCODE_DATA
public static final int BUSY_AFTER_PRINT
Constructor Detail |
public PrinterException(java.lang.String message)
message
- the exception messagepublic PrinterException(int errorCode, java.lang.String message)
errorCode
- the error code numbermessage
- the exception messagepublic PrinterException(java.lang.Throwable cause)
cause
- the exception causePIOSException.getException(java.lang.Throwable)
public PrinterException(int errorCode, java.lang.Throwable cause)
errorCode
- the error code numbercause
- the exception cause
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |