public enum StringFormatErrorReason extends Enum<StringFormatErrorReason>
Java class for StringFormatError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="StringFormatError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="ILLEGAL_CHARS"/>
<enumeration value="INVALID_FORMAT"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ILLEGAL_CHARS
The input string value contains disallowed characters.
|
INVALID_FORMAT
The input string value is invalid for the associated field.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static StringFormatErrorReason |
fromValue(String v) |
String |
value() |
static StringFormatErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringFormatErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringFormatErrorReason UNKNOWN
public static final StringFormatErrorReason ILLEGAL_CHARS
public static final StringFormatErrorReason INVALID_FORMAT
public static StringFormatErrorReason[] values()
for (StringFormatErrorReason c : StringFormatErrorReason.values()) System.out.println(c);
public static StringFormatErrorReason 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 value()
public static StringFormatErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.