public static enum BmpAdapterCommon.Error extends Enum<BmpAdapterCommon.Error>
Modifier and Type | Method and Description |
---|---|
static BmpAdapterCommon.Error |
from(int code,
int subcode) |
String |
getErrorText() |
static BmpAdapterCommon.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BmpAdapterCommon.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BmpAdapterCommon.Error CONNECTION_NOT_SYNCHRONIZED
public static final BmpAdapterCommon.Error BAD_MESSAGE_LENGTH
public static final BmpAdapterCommon.Error BAD_MESSAGE_TYPE
public static final BmpAdapterCommon.Error UNSUPPORTED_VERSION_NUMBER
public static final BmpAdapterCommon.Error BAD_PEER_AS
public static final BmpAdapterCommon.Error BAD_BGP_IDENTIFIER
public static final BmpAdapterCommon.Error UNSUPPORTED_OPTIONAL_PARAMETER
public static final BmpAdapterCommon.Error AUTHENTICATION_FAILURE
public static final BmpAdapterCommon.Error UNACCEPTABLE_HOLD_TIME
public static final BmpAdapterCommon.Error MALFORMED_ATTRIBUTE_LIST
public static final BmpAdapterCommon.Error UNRECOGNIZED_WELL_KNOWN_ATTRIBUTE
public static final BmpAdapterCommon.Error MISSING_WELL_KNOWN_ATTRIBUTE
public static final BmpAdapterCommon.Error ATTRIBUTE_FLAGS_ERROR
public static final BmpAdapterCommon.Error ATTRIBUTE_LENGTH_ERROR
public static final BmpAdapterCommon.Error INVALID_ORIGIN_ATTRIBUTE
public static final BmpAdapterCommon.Error ROUTING_LOOP
public static final BmpAdapterCommon.Error INVALID_NEXT_HOP_ATTRIBUTE
public static final BmpAdapterCommon.Error OPTIONAL_ATTRIBUTE_ERROR
public static final BmpAdapterCommon.Error INVALID_NETWORK_FIELD
public static final BmpAdapterCommon.Error MALFORMED_AS_PATH
public static final BmpAdapterCommon.Error HOLD_TIMER_EXPIRED
public static final BmpAdapterCommon.Error FSM_ERROR
public static final BmpAdapterCommon.Error MAXIMUM_NUMBER_OF_PREFIXES_REACHED
public static final BmpAdapterCommon.Error ADMINISTRATIVE_SHUTDOWN
public static final BmpAdapterCommon.Error PEER_DECONFIGURED
public static final BmpAdapterCommon.Error ADMINISTRATIVE_RESET
public static final BmpAdapterCommon.Error CONNECTION_RESET
public static final BmpAdapterCommon.Error OTHER_CONFIGURATION_CHANGE
public static final BmpAdapterCommon.Error CONNECTION_COLLISION_RESOLUTION
public static final BmpAdapterCommon.Error OUT_OF_RESOURCES
public static final BmpAdapterCommon.Error UNKNOWN
public static BmpAdapterCommon.Error[] values()
for (BmpAdapterCommon.Error c : BmpAdapterCommon.Error.values()) System.out.println(c);
public static BmpAdapterCommon.Error 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 String getErrorText()
public static BmpAdapterCommon.Error from(int code, int subcode)
Copyright © 2021. All rights reserved.