public static enum OpenLRPropertyException.PropertyError extends Enum<OpenLRPropertyException.PropertyError> implements OpenLRProcessingException.ErrorCode
| Enum Constant and Description |
|---|
INVALID_PROPERTY_TYPE
The INVALI d_ propert y_ type.
|
MISSING_PROPERTY
accessing the property failed (property is missing).
|
PROPERTIES_FILE_NOT_FOUND
the properties file was not found.
|
READING_PROPERTIES_ERROR
reading the properties file failed.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExplanation()
Gets the explanation.
|
String |
getName()
Gets the name.
|
static OpenLRPropertyException.PropertyError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenLRPropertyException.PropertyError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenLRPropertyException.PropertyError PROPERTIES_FILE_NOT_FOUND
public static final OpenLRPropertyException.PropertyError READING_PROPERTIES_ERROR
public static final OpenLRPropertyException.PropertyError INVALID_PROPERTY_TYPE
public static final OpenLRPropertyException.PropertyError MISSING_PROPERTY
public static OpenLRPropertyException.PropertyError[] values()
for (OpenLRPropertyException.PropertyError c : OpenLRPropertyException.PropertyError.values()) System.out.println(c);
public static OpenLRPropertyException.PropertyError 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 getName()
OpenLRProcessingException.ErrorCodegetName in interface OpenLRProcessingException.ErrorCodepublic String getExplanation()
OpenLRProcessingException.ErrorCodegetExplanation in interface OpenLRProcessingException.ErrorCodeCopyright © 2019 TomTom International B.V.. All rights reserved.