com.pax.dal.exceptions
Enum ELPRException
- java.lang.Object
-
- java.lang.Enum<ELPRException>
-
- com.pax.dal.exceptions.ELPRException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ELPRException>
public enum ELPRException extends java.lang.Enum<ELPRException>
LPR异常类。LPR exception.
-
-
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 errorLPR_ERR_AUTH_INFORMATION授权信息错误或其他未知错误Authentication information errorLPR_ERR_CAMERA_ID摄像头ID设置错误Camera ID errorLPR_ERR_IS_OPENDLPR模块已openThe LPR is openedLPR_ERR_IS_STARTEDLPR模块已startThe LPR is startedLPR_ERR_NATIONAL_TYPE不支持该国家的车牌识别National type errorLPR_ERR_NOT_OPENDLPR模块未openThe LPR is not openedLPR_ERR_NOT_STARTEDLPR模块未startThe LPR is not startedLPR_ERR_REQUEST_INFORMATION请求信息错误或设备未授权Request information error or Unauthorized deviceLPR_ERR_TIME_VALUE超时时间设置错误Time value errorNO_AVAILABLE_NETWORK无可用网络Network connection errorSERVICE_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 ELPRExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ELPRException[]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 ELPRException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final ELPRException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final ELPRException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final ELPRException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final ELPRException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
SERVICE_NOT_AVAILABLE
public static final ELPRException SERVICE_NOT_AVAILABLE
服务不可用错误Service not available
-
NO_AVAILABLE_NETWORK
public static final ELPRException NO_AVAILABLE_NETWORK
无可用网络Network connection error
-
LPR_ERR_REQUEST_INFORMATION
public static final ELPRException LPR_ERR_REQUEST_INFORMATION
请求信息错误或设备未授权Request information error or Unauthorized device
-
LPR_ERR_AUTH_INFORMATION
public static final ELPRException LPR_ERR_AUTH_INFORMATION
授权信息错误或其他未知错误Authentication information error
-
LPR_ERR_CAMERA_ID
public static final ELPRException LPR_ERR_CAMERA_ID
摄像头ID设置错误Camera ID error
-
LPR_ERR_NATIONAL_TYPE
public static final ELPRException LPR_ERR_NATIONAL_TYPE
不支持该国家的车牌识别National type error
-
LPR_ERR_TIME_VALUE
public static final ELPRException LPR_ERR_TIME_VALUE
超时时间设置错误Time value error
-
LPR_ERR_IS_OPEND
public static final ELPRException LPR_ERR_IS_OPEND
LPR模块已openThe LPR is opened
-
LPR_ERR_NOT_OPEND
public static final ELPRException LPR_ERR_NOT_OPEND
LPR模块未openThe LPR is not opened
-
LPR_ERR_IS_STARTED
public static final ELPRException LPR_ERR_IS_STARTED
LPR模块已startThe LPR is started
-
LPR_ERR_NOT_STARTED
public static final ELPRException LPR_ERR_NOT_STARTED
LPR模块未startThe LPR is not started
-
-
Method Detail
-
values
public static ELPRException[] 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 (ELPRException c : ELPRException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ELPRException 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()
-
-