Enum ProviderErrorReason
- java.lang.Object
-
- java.lang.Enum<ProviderErrorReason>
-
- ProviderErrorReason
-
- All Implemented Interfaces:
Serializable
,Comparable<ProviderErrorReason>
public enum ProviderErrorReason extends Enum<ProviderErrorReason>
Enumeration of reasons for a provider error.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNAL_ERROR
Internal RA/stack errorLOCAL_REJECT
Local rejection of a response to this operation.NO_LINKED_RESPONSE
No linked operations invoked in response to a Class 2 operation within the invoke timeoutNO_RESPONSE
No response to a Class 1 or Class 3 operation within the invoke timeout.PROTOCOL_ERROR
General protocol errorREMOTE_REJECT
Remote rejection of the operation invoke (a TC-U-REJECT or TC-R-REJECT was received)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProviderErrorReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProviderErrorReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL_ERROR
public static final ProviderErrorReason INTERNAL_ERROR
Internal RA/stack error
-
PROTOCOL_ERROR
public static final ProviderErrorReason PROTOCOL_ERROR
General protocol error
-
LOCAL_REJECT
public static final ProviderErrorReason LOCAL_REJECT
Local rejection of a response to this operation. An appropriate reject component has been queued for sending, and will be sent with the next dialogue primitive.
-
REMOTE_REJECT
public static final ProviderErrorReason REMOTE_REJECT
Remote rejection of the operation invoke (a TC-U-REJECT or TC-R-REJECT was received)
-
NO_RESPONSE
public static final ProviderErrorReason NO_RESPONSE
No response to a Class 1 or Class 3 operation within the invoke timeout.
-
NO_LINKED_RESPONSE
public static final ProviderErrorReason NO_LINKED_RESPONSE
No linked operations invoked in response to a Class 2 operation within the invoke timeout
-
-
Method Detail
-
values
public static ProviderErrorReason[] 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 (ProviderErrorReason c : ProviderErrorReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProviderErrorReason valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-