org.apache.hadoop.lib.service
Enum FileSystemAccessException.ERROR
java.lang.Object
java.lang.Enum<FileSystemAccessException.ERROR>
org.apache.hadoop.lib.service.FileSystemAccessException.ERROR
- All Implemented Interfaces:
- Serializable, Comparable<FileSystemAccessException.ERROR>, XException.ERROR
- Enclosing class:
- FileSystemAccessException
public static enum FileSystemAccessException.ERROR
- extends Enum<FileSystemAccessException.ERROR>
- implements XException.ERROR
H01
public static final FileSystemAccessException.ERROR H01
H02
public static final FileSystemAccessException.ERROR H02
H03
public static final FileSystemAccessException.ERROR H03
H04
public static final FileSystemAccessException.ERROR H04
H05
public static final FileSystemAccessException.ERROR H05
H06
public static final FileSystemAccessException.ERROR H06
H07
public static final FileSystemAccessException.ERROR H07
H08
public static final FileSystemAccessException.ERROR H08
H09
public static final FileSystemAccessException.ERROR H09
H10
public static final FileSystemAccessException.ERROR H10
H11
public static final FileSystemAccessException.ERROR H11
values
public static FileSystemAccessException.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 (FileSystemAccessException.ERROR c : FileSystemAccessException.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 FileSystemAccessException.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 © 2014 Apache Software Foundation. All Rights Reserved.