net.augeas
Enum AugeasErrorCode
java.lang.Object
java.lang.Enum<AugeasErrorCode>
net.augeas.AugeasErrorCode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AugeasErrorCode>
public enum AugeasErrorCode
- extends java.lang.Enum<AugeasErrorCode>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NO_ERROR
public static final AugeasErrorCode NO_ERROR
OUT_OF_MEMORY
public static final AugeasErrorCode OUT_OF_MEMORY
INTERNAL_ERROR
public static final AugeasErrorCode INTERNAL_ERROR
PATH_ERROR
public static final AugeasErrorCode PATH_ERROR
NO_MATCH
public static final AugeasErrorCode NO_MATCH
MANY_MATCHES
public static final AugeasErrorCode MANY_MATCHES
LENS_SYNTAX_ERROR
public static final AugeasErrorCode LENS_SYNTAX_ERROR
LENS_LOOKUP_ERROR
public static final AugeasErrorCode LENS_LOOKUP_ERROR
MULTIPLE_TRANSFORMS_ERROR
public static final AugeasErrorCode MULTIPLE_TRANSFORMS_ERROR
values
public static AugeasErrorCode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AugeasErrorCode c : AugeasErrorCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AugeasErrorCode valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
forValue
public static AugeasErrorCode forValue(int value)
getValue
public int getValue()