public static enum Trip.RequestError extends java.lang.Enum<Trip.RequestError>
Enum Constant and Description |
---|
ROUTEABLE_NOT_FOUND
The specified Routeable could not be found.
|
TRIP_NOT_FOUND
The specified Trip could not be found.
|
Modifier and Type | Method and Description |
---|---|
static Trip.RequestError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Trip.RequestError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Trip.RequestError TRIP_NOT_FOUND
public static final Trip.RequestError ROUTEABLE_NOT_FOUND
public static Trip.RequestError[] values()
for (Trip.RequestError c : Trip.RequestError.values()) System.out.println(c);
public static Trip.RequestError 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