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