public enum LensCommonErrorCode extends Enum<LensCommonErrorCode>
Enum Constant and Description |
---|
INTERNAL_SERVER_ERROR |
INVALID_XML_ERROR |
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 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.