public enum LensCommonErrorCode extends Enum<LensCommonErrorCode>
Enum Constant and Description |
---|
INTERNAL_SERVER_ERROR |
INVALID_PARAMETER_VALUE |
INVALID_XML_ERROR |
MISSING_PARAMETERS |
NOT_AUTHORIZED |
RESOURCE_NOT_FOUND |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static LensCommonErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LensCommonErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LensCommonErrorCode INTERNAL_SERVER_ERROR
public static final LensCommonErrorCode INVALID_XML_ERROR
public static final LensCommonErrorCode RESOURCE_NOT_FOUND
public static final LensCommonErrorCode NOT_AUTHORIZED
public static final LensCommonErrorCode MISSING_PARAMETERS
public static final LensCommonErrorCode INVALID_PARAMETER_VALUE
public static LensCommonErrorCode[] values()
for (LensCommonErrorCode c : LensCommonErrorCode.values()) System.out.println(c);
public static LensCommonErrorCode 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 getValue()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.