org.apache.accumulo.core.util.shell
public static enum ShellCommandException.ErrorCode extends Enum<ShellCommandException.ErrorCode>
Enum Constant and Description |
---|
INITIALIZATION_FAILURE |
UNKNOWN_ERROR |
UNRECOGNIZED_COMMAND |
UNSUPPORTED_LANGUAGE |
XML_PARSING_ERROR |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
toString() |
static ShellCommandException.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShellCommandException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShellCommandException.ErrorCode UNKNOWN_ERROR
public static final ShellCommandException.ErrorCode UNSUPPORTED_LANGUAGE
public static final ShellCommandException.ErrorCode UNRECOGNIZED_COMMAND
public static final ShellCommandException.ErrorCode INITIALIZATION_FAILURE
public static final ShellCommandException.ErrorCode XML_PARSING_ERROR
public static ShellCommandException.ErrorCode[] values()
for (ShellCommandException.ErrorCode c : ShellCommandException.ErrorCode.values()) System.out.println(c);
public static ShellCommandException.ErrorCode 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 String getDescription()
public String toString()
toString
in class Enum<ShellCommandException.ErrorCode>
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.