com.pax.dal.exceptions
Enum EPrintDevException
- java.lang.Object
-
- java.lang.Enum<EPrintDevException>
-
- com.pax.dal.exceptions.EPrintDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EPrintDevException>
public enum EPrintDevException extends java.lang.Enum<EPrintDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DEVICES_ERR_CONNECTRPC I/O 连接异常connect errorDEVICES_ERR_INVALID_ARGUMENT参数错误invalid argument errorDEVICES_ERR_NO_PERMISSION无权限异常no permission errorDEVICES_ERR_NO_SUPPORT不支持not support errorDEVICES_ERR_UNEXPECTED未知异常unexpected errorERROR_DISABLED模块被禁用module disabledERROR_NOT_IN_WHITELIST不在白名单中not in whiteListPRINTER_ERR_BUSY打印机忙Printer busyPRINTER_ERR_COVER_OPEN开盖错误(支持E500 E800)cover open errorPRINTER_ERR_CUT_PAPER切纸异常cut paper errorPRINTER_ERR_CUTTER_JAM切刀异常(支持E500 E800)cut jam errorPRINTER_ERR_DATA_PACKET_ERROR打印数据包格式错The format of print data packet errorPRINTER_ERR_FONT_FORMAT_ERR字体文件名错误font file format errorPRINTER_ERR_FONT_NOT_EXIST字体不存在font not exist errorPRINTER_ERR_LACK_OF_FONT打印机未装字库Lack of fontPRINTER_ERR_OUT_OF_PAPER打印机缺纸Out of paperPRINTER_ERR_PRINT_UNFINISHED打印未完成Print unfinishedPRINTER_ERR_PRINTER_OVER_HEATING打印机过热Printer over heatingPRINTER_ERR_PRINTER_PROBLEMS打印机故障Printer problemsPRINTER_ERR_TOO_LONG数据包过长Package too longPRINTER_ERR_UNSUPPORTED_ENCODING不支持的编码unsupported encoding errorPRINTER_ERR_VOLTAGE_TOO_LOW打印机电压过低voltage is too low
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EPrintDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EPrintDevException[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEVICES_ERR_UNEXPECTED
public static final EPrintDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EPrintDevException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final EPrintDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EPrintDevException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EPrintDevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
ERROR_DISABLED
public static final EPrintDevException ERROR_DISABLED
模块被禁用module disabled
-
ERROR_NOT_IN_WHITELIST
public static final EPrintDevException ERROR_NOT_IN_WHITELIST
不在白名单中not in whiteList
-
PRINTER_ERR_BUSY
public static final EPrintDevException PRINTER_ERR_BUSY
打印机忙Printer busy
-
PRINTER_ERR_OUT_OF_PAPER
public static final EPrintDevException PRINTER_ERR_OUT_OF_PAPER
打印机缺纸Out of paper
-
PRINTER_ERR_DATA_PACKET_ERROR
public static final EPrintDevException PRINTER_ERR_DATA_PACKET_ERROR
打印数据包格式错The format of print data packet error
-
PRINTER_ERR_PRINTER_PROBLEMS
public static final EPrintDevException PRINTER_ERR_PRINTER_PROBLEMS
打印机故障Printer problems
-
PRINTER_ERR_PRINTER_OVER_HEATING
public static final EPrintDevException PRINTER_ERR_PRINTER_OVER_HEATING
打印机过热Printer over heating
-
PRINTER_ERR_PRINT_UNFINISHED
public static final EPrintDevException PRINTER_ERR_PRINT_UNFINISHED
打印未完成Print unfinished
-
PRINTER_ERR_LACK_OF_FONT
public static final EPrintDevException PRINTER_ERR_LACK_OF_FONT
打印机未装字库Lack of font
-
PRINTER_ERR_TOO_LONG
public static final EPrintDevException PRINTER_ERR_TOO_LONG
数据包过长Package too long
-
PRINTER_ERR_VOLTAGE_TOO_LOW
public static final EPrintDevException PRINTER_ERR_VOLTAGE_TOO_LOW
打印机电压过低voltage is too low
-
PRINTER_ERR_CUT_PAPER
public static final EPrintDevException PRINTER_ERR_CUT_PAPER
切纸异常cut paper error
-
PRINTER_ERR_COVER_OPEN
public static final EPrintDevException PRINTER_ERR_COVER_OPEN
开盖错误(支持E500 E800)cover open error
-
PRINTER_ERR_CUTTER_JAM
public static final EPrintDevException PRINTER_ERR_CUTTER_JAM
切刀异常(支持E500 E800)cut jam error
-
PRINTER_ERR_UNSUPPORTED_ENCODING
public static final EPrintDevException PRINTER_ERR_UNSUPPORTED_ENCODING
不支持的编码unsupported encoding error
-
PRINTER_ERR_FONT_FORMAT_ERR
public static final EPrintDevException PRINTER_ERR_FONT_FORMAT_ERR
字体文件名错误font file format error
-
PRINTER_ERR_FONT_NOT_EXIST
public static final EPrintDevException PRINTER_ERR_FONT_NOT_EXIST
字体不存在font not exist error
-
-
Method Detail
-
values
public static EPrintDevException[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EPrintDevException c : EPrintDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPrintDevException valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getErrCodeFromBasement
public int getErrCodeFromBasement()
-
getErrMsg
public java.lang.String getErrMsg()
-
-