public static enum VehicleProfile.Error extends java.lang.Enum<VehicleProfile.Error>
Enum Constant and Description |
---|
INVALID_VALUE
Some values in the profile are not valid (e.g.
|
PROFILE_OK
Profile successfully set.
|
UNKNOWN_ENGINE_TYPE
Unknown engine type.
|
UNKNOWN_ERROR
Unknown error.
|
UNKNOWN_FUEL_TYPE
Unknown fuel type.
|
UNKNOWN_HAZMAT_CATEGORY
Unknown hazmat category.
|
UNKNOWN_VEHICLE_TYPE
Unknown vehicle type.
|
Modifier and Type | Method and Description |
---|---|
static VehicleProfile.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VehicleProfile.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleProfile.Error PROFILE_OK
public static final VehicleProfile.Error UNKNOWN_ERROR
public static final VehicleProfile.Error UNKNOWN_VEHICLE_TYPE
public static final VehicleProfile.Error INVALID_VALUE
public static final VehicleProfile.Error UNKNOWN_HAZMAT_CATEGORY
public static final VehicleProfile.Error UNKNOWN_ENGINE_TYPE
public static final VehicleProfile.Error UNKNOWN_FUEL_TYPE
public static VehicleProfile.Error[] values()
for (VehicleProfile.Error c : VehicleProfile.Error.values()) System.out.println(c);
public static VehicleProfile.Error 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 null