com.cloudera.lib.service
Enum HadoopException.ERROR
java.lang.Object
java.lang.Enum<HadoopException.ERROR>
com.cloudera.lib.service.HadoopException.ERROR
- All Implemented Interfaces:
- XException.ERROR, Serializable, Comparable<HadoopException.ERROR>
- Enclosing class:
- HadoopException
public static enum HadoopException.ERROR
- extends Enum<HadoopException.ERROR>
- implements XException.ERROR
H01
public static final HadoopException.ERROR H01
H02
public static final HadoopException.ERROR H02
H03
public static final HadoopException.ERROR H03
H04
public static final HadoopException.ERROR H04
H05
public static final HadoopException.ERROR H05
H06
public static final HadoopException.ERROR H06
H07
public static final HadoopException.ERROR H07
H08
public static final HadoopException.ERROR H08
H09
public static final HadoopException.ERROR H09
values
public static HadoopException.ERROR[] 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 (HadoopException.ERROR c : HadoopException.ERROR.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HadoopException.ERROR 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
getTemplate
public String getTemplate()
- Description copied from interface:
XException.ERROR
- Returns the template for the error.
- Specified by:
getTemplate
in interface XException.ERROR
- Returns:
- the template for the error, the template must be in JDK
MessageFormat
syntax (using {#} positional parameters).
Copyright © 2012 Cloudera. All Rights Reserved.