com.pax.dal.exceptions
Enum EChannelException
- java.lang.Object
-
- java.lang.Enum<EChannelException>
-
- com.pax.dal.exceptions.EChannelException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EChannelException>
public enum EChannelException extends java.lang.Enum<EChannelException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description CHANNEL_ERR_BASE_IN_PLACE底座在位,关闭USBHOST失败The base is in place, failed to close USBHOSTCHANNEL_ERR_CLOSE_USBHOSTusb虚拟串口已打开,关闭USBHOST失败USB virtual serial port has been opened, failed to close USBHOSTCHANNEL_ERR_DISABLE关闭通讯通道错误channel disable errorCHANNEL_ERR_ENABLE使能通讯通道错误channel enable errorCHANNEL_ERR_ETH_LINK以太网线未连接channel eth link errorCHANNEL_ERR_EXTERNAL_POWER接外电,关闭USBHOST失败Connecting external power, failed to close USBHOSTCHANNEL_ERR_FINGERPRINT_IN_USE指纹正在使用,关闭USBHOST失败Fingerprint is in use, failed to close USBHOSTCHANNEL_ERR_INVALID无效的通讯通道channel invalid errorCHANNEL_ERR_NOT_READY通讯通道未准备好channel not ready errorCHANNEL_ERR_OPEN_USBHOST_DRIVER_NODE打开USBHOST驱动节点失败Failed to open USBHOST driver nodeCHANNEL_ERR_WRITE_USBHOST_DRIVER_NODE写USBHOST驱动节点失败Failed to write USBHOST driver nodeDEVICES_ERR_CONNECTRPC I/O 连接异常connect errorDEVICES_ERR_NO_PERMISSION无权限异常no permission errorDEVICES_ERR_NO_SUPPORT不支持not support errorDEVICES_ERR_NULL_POINTRPC 参数为NULLnull point errorDEVICES_ERR_UNEXPECTED未知异常unexpected error
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EChannelExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EChannelException[]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 EChannelException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_NULL_POINT
public static final EChannelException DEVICES_ERR_NULL_POINT
RPC 参数为NULLnull point error
-
DEVICES_ERR_CONNECT
public static final EChannelException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EChannelException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EChannelException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
CHANNEL_ERR_INVALID
public static final EChannelException CHANNEL_ERR_INVALID
无效的通讯通道channel invalid error
-
CHANNEL_ERR_NOT_READY
public static final EChannelException CHANNEL_ERR_NOT_READY
通讯通道未准备好channel not ready error
-
CHANNEL_ERR_ENABLE
public static final EChannelException CHANNEL_ERR_ENABLE
使能通讯通道错误channel enable error
-
CHANNEL_ERR_DISABLE
public static final EChannelException CHANNEL_ERR_DISABLE
关闭通讯通道错误channel disable error
-
CHANNEL_ERR_ETH_LINK
public static final EChannelException CHANNEL_ERR_ETH_LINK
以太网线未连接channel eth link error
-
CHANNEL_ERR_BASE_IN_PLACE
public static final EChannelException CHANNEL_ERR_BASE_IN_PLACE
底座在位,关闭USBHOST失败The base is in place, failed to close USBHOST
-
CHANNEL_ERR_FINGERPRINT_IN_USE
public static final EChannelException CHANNEL_ERR_FINGERPRINT_IN_USE
指纹正在使用,关闭USBHOST失败Fingerprint is in use, failed to close USBHOST
-
CHANNEL_ERR_EXTERNAL_POWER
public static final EChannelException CHANNEL_ERR_EXTERNAL_POWER
接外电,关闭USBHOST失败Connecting external power, failed to close USBHOST
-
CHANNEL_ERR_OPEN_USBHOST_DRIVER_NODE
public static final EChannelException CHANNEL_ERR_OPEN_USBHOST_DRIVER_NODE
打开USBHOST驱动节点失败Failed to open USBHOST driver node
-
CHANNEL_ERR_WRITE_USBHOST_DRIVER_NODE
public static final EChannelException CHANNEL_ERR_WRITE_USBHOST_DRIVER_NODE
写USBHOST驱动节点失败Failed to write USBHOST driver node
-
CHANNEL_ERR_CLOSE_USBHOST
public static final EChannelException CHANNEL_ERR_CLOSE_USBHOST
usb虚拟串口已打开,关闭USBHOST失败USB virtual serial port has been opened, failed to close USBHOST
-
-
Method Detail
-
values
public static EChannelException[] 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 (EChannelException c : EChannelException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EChannelException 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()
-
-