public enum DocumentErrorReason extends Enum<DocumentErrorReason>
Enum Constant and Description |
---|
INTERNAL_SERVER_ERROR |
UNKNOWN_ERROR |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static DocumentErrorReason |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static DocumentErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentErrorReason UNKNOWN_ERROR
public static final DocumentErrorReason INTERNAL_SERVER_ERROR
public static final DocumentErrorReason UNKNOWN_TO_SDK_VERSION
public static DocumentErrorReason[] values()
for (DocumentErrorReason c : DocumentErrorReason.values()) System.out.println(c);
public static DocumentErrorReason 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 getValue()
public String toString()
toString
in class Enum<DocumentErrorReason>
public static DocumentErrorReason fromValue(String text)
Copyright © 2023. All rights reserved.