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