org.apache.hadoop.lib.service
Enum FileSystemAccessException.ERROR

java.lang.Object
  extended by java.lang.Enum<FileSystemAccessException.ERROR>
      extended by 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


Enum Constant Summary
H01
           
H02
           
H03
           
H04
           
H05
           
H06
           
H07
           
H08
           
H09
           
H10
           
H11
           
 
Method Summary
 String getTemplate()
          Returns the template for the error.
static FileSystemAccessException.ERROR valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FileSystemAccessException.ERROR[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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
Method Detail

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.