public static enum DeserializationException.Problems extends Enum<DeserializationException.Problems>
| Enum Constant and Description |
|---|
DISALLOWED_TOKENA disallowed token was found in the input. |
IOEXCEPTION |
UNEXPECTED_CHARACTERAn unexpected character was found in the input. |
UNEXPECTED_EXCEPTIONAn unexpected exception occurred during deserialization. |
UNEXPECTED_TOKENAn unexpected token was found in the input. |
| Modifier and Type | Method and Description |
|---|---|
static DeserializationException.Problems | valueOf(String name)Returns the enum constant of this type with the specified name. |
static DeserializationException.Problems[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final DeserializationException.Problems DISALLOWED_TOKEN
public static final DeserializationException.Problems IOEXCEPTION
public static final DeserializationException.Problems UNEXPECTED_CHARACTER
public static final DeserializationException.Problems UNEXPECTED_EXCEPTION
public static final DeserializationException.Problems UNEXPECTED_TOKEN
public static DeserializationException.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 nullpublic static DeserializationException.Problems[] values()
for (DeserializationException.Problems c : DeserializationException.Problems.values()) System.out.println(c);