public enum PlanExceptionMessages extends java.lang.Enum<PlanExceptionMessages>
Enum Constant and Description |
---|
GENERIC_ERROR |
INVALID_GHNS |
INVALID_REQUEST |
INVALID_REQUEST_SCOPE |
INVALID_RESPONSE |
IS_ACCESS_ERROR |
NO_GHNS_AVAILABLE |
REQUIRED_GHN_LOCKED |
REQUIREMENTS_NOT_SATISFIED |
RESERVATION_EXPIRED_TIME |
RETRY_LATER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
static PlanExceptionMessages |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlanExceptionMessages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanExceptionMessages RETRY_LATER
public static final PlanExceptionMessages INVALID_REQUEST
public static final PlanExceptionMessages INVALID_REQUEST_SCOPE
public static final PlanExceptionMessages INVALID_RESPONSE
public static final PlanExceptionMessages NO_GHNS_AVAILABLE
public static final PlanExceptionMessages REQUIRED_GHN_LOCKED
public static final PlanExceptionMessages RESERVATION_EXPIRED_TIME
public static final PlanExceptionMessages IS_ACCESS_ERROR
public static final PlanExceptionMessages INVALID_GHNS
public static final PlanExceptionMessages GENERIC_ERROR
public static final PlanExceptionMessages REQUIREMENTS_NOT_SATISFIED
public static PlanExceptionMessages[] values()
for (PlanExceptionMessages c : PlanExceptionMessages.values()) System.out.println(c);
public static PlanExceptionMessages 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 final java.lang.String getMessage()