public static enum ImportException.Type extends Enum<ImportException.Type>
| Enum Constant and Description |
|---|
CANNOT_OPEN_ZIP |
JSON_STRUCTURE |
MODEL_NOT_FOUND |
PAGE_NOT_FOUND |
SERVER_ERROR |
UNEXPECTED_ZIP_STRUCTURE |
| Modifier and Type | Method and Description |
|---|---|
static ImportException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportException.Type SERVER_ERROR
public static final ImportException.Type PAGE_NOT_FOUND
public static final ImportException.Type MODEL_NOT_FOUND
public static final ImportException.Type UNEXPECTED_ZIP_STRUCTURE
public static final ImportException.Type CANNOT_OPEN_ZIP
public static final ImportException.Type JSON_STRUCTURE
public static ImportException.Type[] values()
for (ImportException.Type c : ImportException.Type.values()) System.out.println(c);
public static ImportException.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.