@Generated(value="com.neeve.adm.AdmEnumeration", date="Fri Dec 05 11:53:59 EST 2025") @AdmGenerated(compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 11:53 AM", buildInfo="nvx-eagle-2.9-SNAPSHOT Json Encoding") public enum ErrorCode extends Enum<ErrorCode>
| Enum Constant and Description |
|---|
BackendError
The 'BackendError' type.
|
CommunicationError
The 'CommunicationError' type.
|
ConcurrentModification
The 'ConcurrentModification' type.
|
InvalidCredentials
The 'InvalidCredentials' type.
|
InvalidSession
The 'InvalidSession' type.
|
MalformedRequestDTO
The 'MalformedRequestDTO' type.
|
NoError
The 'NoError' type.
|
NotConnected
The 'NotConnected' type.
|
RequestTimedOut
The 'RequestTimedOut' type.
|
ServerLaunchTimedOut
The 'ServerLaunchTimedOut' type.
|
ServerUnavailable
The 'ServerUnavailable' type.
|
SystemError
The 'SystemError' type.
|
UnknownError
The 'UnknownError' type.
|
UnsupportedOperation
The 'UnsupportedOperation' type.
|
| Modifier and Type | Field and Description |
|---|---|
static ErrorCode[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays.
|
int |
val |
static List<ErrorCode> |
VALUES
A zero garbage alternative to
values(). |
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
fromCode(int code)
Gets the value corresponding to the provided int 'code' value.
|
static ErrorCode |
fromCodeString(String value)
Gets the value corresponding to the provided 'code' value in its String form.
|
static ErrorCode |
fromValue(int val)
Gets the value corresponding to the provided 'constant' value.
|
String |
getCodeString()
Gets the code value for this enumeration as a String.
|
static Class<?> |
getCodeType()
Gets the code type with which this enumeration was generated.
|
static boolean |
hasValue(int val)
Tests if the passed in value represents a 'constant' in this enumeration.
|
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode NoError
public static final ErrorCode SystemError
public static final ErrorCode UnknownError
public static final ErrorCode BackendError
public static final ErrorCode RequestTimedOut
public static final ErrorCode UnsupportedOperation
public static final ErrorCode InvalidSession
public static final ErrorCode CommunicationError
public static final ErrorCode NotConnected
public static final ErrorCode ConcurrentModification
public static final ErrorCode MalformedRequestDTO
public static final ErrorCode InvalidCredentials
public static final ErrorCode ServerLaunchTimedOut
public static final ErrorCode ServerUnavailable
public static final ErrorCode[] EMPTY_ARRAY
public final int val
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static final boolean hasValue(int val)
val - The value to test for.public static final ErrorCode fromValue(int val)
val - The 'constant' value to look up.IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final ErrorCode fromCode(int code)
code - The int 'code' value to look up.IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final ErrorCode fromCodeString(String value)
value - The String 'code' value to look up.IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final Class<?> getCodeType()
public final String getCodeString()
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.