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