public enum ErrorCode extends Enum<ErrorCode>
Enum Constant and Description |
---|
CHANNEL_ENDPOINT_ERROR
Channel Endpoint could not be successfully opened.
|
GENERIC_ERROR
Aeron encountered an error condition.
|
INVALID_CHANNEL
A failure occurred creating a new channel or parsing the channel string.
|
MALFORMED_COMMAND
Attempted to send a command that is malformed.
|
NOT_SUPPORTED
Attempted to send a command known by the driver, but not currently supported.
|
RESOURCE_TEMPORARILY_UNAVAILABLE
Attempted to send a command that referred to a resource that currently was unavailable.
|
STORAGE_SPACE
Aeron encountered insufficient storage space while adding a resource.
|
UNKNOWN_CODE_VALUE
A code value returned was not known.
|
UNKNOWN_COMMAND_TYPE_ID
Attempted to send a command unknown by the driver.
|
UNKNOWN_COUNTER
Attempted to reference a counter, but it was not found.
|
UNKNOWN_HOST
Attempted to send a command that had a hostname that could not be resolved.
|
UNKNOWN_PUBLICATION
Attempted to reference a publication, but it was not found.
|
UNKNOWN_SUBSCRIPTION
Attempted to reference a subscription, but it was not found.
|
UNUSED
Old generic value, no longer used (0 value clashes with success).
|
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
get(int value)
Get the ErrorCode that corresponds to the given value.
|
int |
value()
Get the value of this ErrorCode.
|
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 UNUSED
public static final ErrorCode INVALID_CHANNEL
public static final ErrorCode UNKNOWN_SUBSCRIPTION
public static final ErrorCode UNKNOWN_PUBLICATION
public static final ErrorCode CHANNEL_ENDPOINT_ERROR
public static final ErrorCode UNKNOWN_COUNTER
public static final ErrorCode UNKNOWN_COMMAND_TYPE_ID
public static final ErrorCode MALFORMED_COMMAND
public static final ErrorCode NOT_SUPPORTED
public static final ErrorCode UNKNOWN_HOST
public static final ErrorCode RESOURCE_TEMPORARILY_UNAVAILABLE
public static final ErrorCode GENERIC_ERROR
public static final ErrorCode STORAGE_SPACE
public static final ErrorCode UNKNOWN_CODE_VALUE
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 int value()
public static ErrorCode get(int value)
value
- of the ErrorCodeCopyright © 2014-2022 Real Logic Limited. All Rights Reserved.