public class LinePrinterException extends PrinterException
LinePrinter 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 |
|---|
LinePrinterException(java.lang.String aMsg,
int aErrorCode)
Constructs a LinePrinterException object with the specified detailed
message and error code.
|
getErrorCodepublic LinePrinterException(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.