org.apache.accumulo.core.util.shell
Enum ShellCommandException.ErrorCode
java.lang.Object
java.lang.Enum<ShellCommandException.ErrorCode>
org.apache.accumulo.core.util.shell.ShellCommandException.ErrorCode
- All Implemented Interfaces:
- Serializable, Comparable<ShellCommandException.ErrorCode>
- Enclosing class:
- ShellCommandException
public static enum ShellCommandException.ErrorCode
- extends Enum<ShellCommandException.ErrorCode>
UNKNOWN_ERROR
public static final ShellCommandException.ErrorCode UNKNOWN_ERROR
UNSUPPORTED_LANGUAGE
public static final ShellCommandException.ErrorCode UNSUPPORTED_LANGUAGE
UNRECOGNIZED_COMMAND
public static final ShellCommandException.ErrorCode UNRECOGNIZED_COMMAND
INITIALIZATION_FAILURE
public static final ShellCommandException.ErrorCode INITIALIZATION_FAILURE
XML_PARSING_ERROR
public static final ShellCommandException.ErrorCode XML_PARSING_ERROR
values
public static ShellCommandException.ErrorCode[] 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 (ShellCommandException.ErrorCode c : ShellCommandException.ErrorCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ShellCommandException.ErrorCode valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getDescription
public String getDescription()
toString
public String toString()
- Overrides:
toString
in class Enum<ShellCommandException.ErrorCode>
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.