public enum RMCreateContextCode extends Enum<RMCreateContextCode> implements org.gcube.common.gxrest.response.outbound.ErrorCode
| Enum Constant and Description |
|---|
CONTEXT_ALREADY_EXISTS |
CONTEXT_PARENT_DOES_NOT_EXIST |
GENERIC_ERROR_FROM_RR |
INVALID_METHOD_REQUEST |
INVALID_REQUEST_FOR_RR |
INVALID_RESPONSE_R_FROM_RR |
MISSING_HEADER |
MISSING_PARAMETER |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getMessage() |
static RMCreateContextCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMCreateContextCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMCreateContextCode INVALID_METHOD_REQUEST
public static final RMCreateContextCode MISSING_PARAMETER
public static final RMCreateContextCode MISSING_HEADER
public static final RMCreateContextCode CONTEXT_ALREADY_EXISTS
public static final RMCreateContextCode CONTEXT_PARENT_DOES_NOT_EXIST
public static final RMCreateContextCode INVALID_REQUEST_FOR_RR
public static final RMCreateContextCode GENERIC_ERROR_FROM_RR
public static final RMCreateContextCode INVALID_RESPONSE_R_FROM_RR
public static RMCreateContextCode[] values()
for (RMCreateContextCode c : RMCreateContextCode.values()) System.out.println(c);
public static RMCreateContextCode 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 int getId()
getId in interface org.gcube.common.gxrest.response.outbound.ErrorCodepublic String getMessage()
getMessage in interface org.gcube.common.gxrest.response.outbound.ErrorCodeCopyright © 2019. All Rights Reserved.