public enum ExceptionCode extends Enum<ExceptionCode>
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ExceptionCode"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="REQUIRED_PARAMETER_MISSING"/> <enumeration value="DATA_NOT_LICENSED"/> <enumeration value="INTERNAL_ERROR"/> <enumeration value="MAPMARKER_EXCEPTION"/> <enumeration value="MAPMARKER_FATAL_EXCEPTION"/> <enumeration value="INVALID_CLIENT_INPUT"/> <enumeration value="NO_COUNTRY_SPECIFIED"/> <enumeration value="COUNTRY_NOT_SUPPORTED"/> <enumeration value="GEOSTAN_FATAL_EXCEPTION"/> <enumeration value="INVALID_CONFIGURATION"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static ExceptionCode |
fromValue(String v) |
String |
value() |
static ExceptionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionCode REQUIRED_PARAMETER_MISSING
public static final ExceptionCode DATA_NOT_LICENSED
public static final ExceptionCode INTERNAL_ERROR
public static final ExceptionCode MAPMARKER_EXCEPTION
public static final ExceptionCode MAPMARKER_FATAL_EXCEPTION
public static final ExceptionCode INVALID_CLIENT_INPUT
public static final ExceptionCode NO_COUNTRY_SPECIFIED
public static final ExceptionCode COUNTRY_NOT_SUPPORTED
public static final ExceptionCode GEOSTAN_FATAL_EXCEPTION
public static final ExceptionCode INVALID_CONFIGURATION
public static final ExceptionCode REMOTE_EXCEPTION
public static ExceptionCode[] values()
for (ExceptionCode c : ExceptionCode.values()) System.out.println(c);
public static ExceptionCode 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 static ExceptionCode fromValue(String v)
public String value()
Copyright © 2024. All rights reserved.