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