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.
|
UNKNOWN_CODE_VALUE
A code value returned was not known.
|
UNKNOWN_COUNTER
Attempted to remove a counter, but it was not found.
|
UNKNOWN_PUBLICATION
Attempted to remove a publication, but it was not found.
|
UNKNOWN_SUBSCRIPTION
Attempted to remove a subscription, but it was not found
|
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(java.lang.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 GENERIC_ERROR
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_CODE_VALUE
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static ErrorCode get(int value)
value
- of the ErrorCodeCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.