public enum MAPFailureCause extends Enum<MAPFailureCause>
FailureCause ::= ENUMERATED { wrongUserResponse(0), wrongNetworkSignature(1) }Added in R99.
Used as field type by MAPAuthenticationFailureReportArg
.
Enum Constant and Description |
---|
wrongNetworkSignature |
wrongUserResponse |
Modifier and Type | Method and Description |
---|---|
static MAPFailureCause |
fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static MAPFailureCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MAPFailureCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MAPFailureCause wrongUserResponse
public static final MAPFailureCause wrongNetworkSignature
public static MAPFailureCause[] values()
for (MAPFailureCause c : MAPFailureCause.values()) System.out.println(c);
public static MAPFailureCause 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 MAPFailureCause fromValue(int value)
value
- integer ASN.1 encoded valuepublic int intValue()