com.techventus.server.voice.exception
Enum ERROR_CODE
java.lang.Object
java.lang.Enum<ERROR_CODE>
com.techventus.server.voice.exception.ERROR_CODE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ERROR_CODE>
public enum ERROR_CODE
- extends java.lang.Enum<ERROR_CODE>
Method Summary |
static ERROR_CODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ERROR_CODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BadAuthentication
public static final ERROR_CODE BadAuthentication
NotVerified
public static final ERROR_CODE NotVerified
TermsNotAgreed
public static final ERROR_CODE TermsNotAgreed
CaptchaRequired
public static final ERROR_CODE CaptchaRequired
Unknown
public static final ERROR_CODE Unknown
AccountDeleted
public static final ERROR_CODE AccountDeleted
AccountDisabled
public static final ERROR_CODE AccountDisabled
ServiceDisabled
public static final ERROR_CODE ServiceDisabled
ServiceUnavailable
public static final ERROR_CODE ServiceUnavailable
LONG_TEXT
public final java.lang.String LONG_TEXT
values
public static ERROR_CODE[] 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 (ERROR_CODE c : ERROR_CODE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ERROR_CODE 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 name
java.lang.NullPointerException
- if the argument is null