public class LabelPrinterException extends PrinterException
LabelPrinter
class.ERROR_ALREADY_CONNECTED, ERROR_FILE_INVALID, ERROR_FILE_NOT_FOUND, ERROR_INVALID_NET_ADDRESS, ERROR_INVALID_PRINTER_ID, ERROR_NO_CONNECTION
Constructor and Description |
---|
LabelPrinterException(java.lang.String aMsg,
int aErrorCode)
Constructs a LabelPrinterException object with the specified detailed
message and error code.
|
getErrorCode
public LabelPrinterException(java.lang.String aMsg, int aErrorCode)
aMsg
- A string describing the cause of the exception.aErrorCode
- An integer error code.Copyright (c) 2013-2015 Honeywell International Inc. All rights reserved.