Enum Class AgentDeviceLoginException.Reason
java.lang.Object
java.lang.Enum<AgentDeviceLoginException.Reason>
com.novomind.ecom.api.iagent.exception.AgentDeviceLoginException.Reason
- All Implemented Interfaces:
Serializable
,Comparable<AgentDeviceLoginException.Reason>
,Constable
- Enclosing class:
AgentDeviceLoginException
The reasons for agent device login faults
- Since:
- 11.27
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA general connection error has occurred during login on phone systemThe device of the specified device id is currently busyThe specified phone device id is currently in use by another agentThe agent id is invalid or does not existThe device id is invalid or does not existThe password for the phone device login is wrong -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AgentDeviceLoginException.Reason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID_PASSWORD
The password for the phone device login is wrong -
INVALID_AGENTID
The agent id is invalid or does not exist -
INVALID_DEVICEID
The device id is invalid or does not exist -
DEVICEID_IN_USE
The specified phone device id is currently in use by another agent -
DEVICE_BUSY
The device of the specified device id is currently busy -
CONNECTION_FAULT
A general connection error has occurred during login on phone system
-
-
Field Details
-
id
public final int id
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-