public static enum JsonException.Problems extends Enum<JsonException.Problems>
Enum Constant and Description |
---|
DISALLOWED_TOKEN |
IOEXCEPTION |
UNEXPECTED_CHARACTER |
UNEXPECTED_EXCEPTION |
UNEXPECTED_TOKEN |
Modifier and Type | Method and Description |
---|---|
static JsonException.Problems |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonException.Problems[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonException.Problems DISALLOWED_TOKEN
public static final JsonException.Problems IOEXCEPTION
public static final JsonException.Problems UNEXPECTED_CHARACTER
public static final JsonException.Problems UNEXPECTED_EXCEPTION
public static final JsonException.Problems UNEXPECTED_TOKEN
public static JsonException.Problems[] values()
for (JsonException.Problems c : JsonException.Problems.values()) System.out.println(c);
public static JsonException.Problems 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 nullCopyright © 2018. All rights reserved.