public static enum DetailedError.Type extends Enum<DetailedError.Type>
| Enum Constant and Description |
|---|
API_ERROR |
IO_ERROR |
PARSING_ERROR |
VALIDATION_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static DetailedError.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DetailedError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetailedError.Type PARSING_ERROR
public static final DetailedError.Type API_ERROR
public static final DetailedError.Type IO_ERROR
public static final DetailedError.Type VALIDATION_ERROR
public static DetailedError.Type[] values()
for (DetailedError.Type c : DetailedError.Type.values()) System.out.println(c);
public static DetailedError.Type 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 © 2020. All rights reserved.