public enum GeolocationServiceExceptionCodes extends java.lang.Enum<GeolocationServiceExceptionCodes> implements StandardServiceExceptionCode
| Enum Constant and Description |
|---|
ADDRESS_NOT_SET
Address is missing.
|
COUNTRY_NOT_SPECIFIED
Country is missing.
|
ZIPCODE_NOT_SPECIFIED
Zipcode is missing.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static GeolocationServiceExceptionCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeolocationServiceExceptionCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeolocationServiceExceptionCodes ADDRESS_NOT_SET
public static final GeolocationServiceExceptionCodes COUNTRY_NOT_SPECIFIED
public static final GeolocationServiceExceptionCodes ZIPCODE_NOT_SPECIFIED
public static GeolocationServiceExceptionCodes[] values()
for (GeolocationServiceExceptionCodes c : GeolocationServiceExceptionCodes.values()) System.out.println(c);
public static GeolocationServiceExceptionCodes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
getCode in interface StandardServiceExceptionCodepublic java.lang.String getMessage()
getMessage in interface StandardServiceExceptionCodepublic java.lang.String toString()
toString in class java.lang.Enum<GeolocationServiceExceptionCodes>Copyright © 2018 SAP SE. All Rights Reserved.