com.pax.dal.exceptions
Enum EScannerHwDevException
- java.lang.Object
-
- java.lang.Enum<EScannerHwDevException>
-
- com.pax.dal.exceptions.EScannerHwDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EScannerHwDevException>
public enum EScannerHwDevException extends java.lang.Enum<EScannerHwDevException>
-
-
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 errorSCANNER_HW_ERR_COMMUNICATION解码串口设备通讯失败Communication failure of decoding serial deviceSCANNER_HW_ERR_EXECUTE执行错误Execution errorSCANNER_HW_ERR_NO_MODULE无模块错误No module errorSCANNER_HW_ERR_OUT_OF_TIME执行超时Execution timeoutSCANNER_HW_ERR_SCAN_SLEEP扫描头已休眠The scanner is sleepedSCANNER_HW_ERR_SEND_SIGNAL解码触发信号发送失败Decoding trigger signal transmission failureSCANNER_HW_ERR_USER_STOP_OP用户停止扫描操作User Stops Scanning OperationSERVICE_NOT_AVAILABLE服务不可用service not available
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EScannerHwDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EScannerHwDevException[]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 EScannerHwDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EScannerHwDevException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final EScannerHwDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EScannerHwDevException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EScannerHwDevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
SERVICE_NOT_AVAILABLE
public static final EScannerHwDevException SERVICE_NOT_AVAILABLE
服务不可用service not available
-
SCANNER_HW_ERR_NO_MODULE
public static final EScannerHwDevException SCANNER_HW_ERR_NO_MODULE
无模块错误No module error
-
SCANNER_HW_ERR_EXECUTE
public static final EScannerHwDevException SCANNER_HW_ERR_EXECUTE
执行错误Execution error
-
SCANNER_HW_ERR_OUT_OF_TIME
public static final EScannerHwDevException SCANNER_HW_ERR_OUT_OF_TIME
执行超时Execution timeout
-
SCANNER_HW_ERR_SEND_SIGNAL
public static final EScannerHwDevException SCANNER_HW_ERR_SEND_SIGNAL
解码触发信号发送失败Decoding trigger signal transmission failure
-
SCANNER_HW_ERR_COMMUNICATION
public static final EScannerHwDevException SCANNER_HW_ERR_COMMUNICATION
解码串口设备通讯失败Communication failure of decoding serial device
-
SCANNER_HW_ERR_USER_STOP_OP
public static final EScannerHwDevException SCANNER_HW_ERR_USER_STOP_OP
用户停止扫描操作User Stops Scanning Operation
-
SCANNER_HW_ERR_SCAN_SLEEP
public static final EScannerHwDevException SCANNER_HW_ERR_SCAN_SLEEP
扫描头已休眠The scanner is sleeped
-
-
Method Detail
-
values
public static EScannerHwDevException[] 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 (EScannerHwDevException c : EScannerHwDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EScannerHwDevException 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()
-
-