org.apache.hadoop.lib.service
Enum DelegationTokenManagerException.ERROR
java.lang.Object
java.lang.Enum<DelegationTokenManagerException.ERROR>
org.apache.hadoop.lib.service.DelegationTokenManagerException.ERROR
- All Implemented Interfaces:
- Serializable, Comparable<DelegationTokenManagerException.ERROR>, XException.ERROR
- Enclosing class:
- DelegationTokenManagerException
public static enum DelegationTokenManagerException.ERROR
- extends Enum<DelegationTokenManagerException.ERROR>
- implements XException.ERROR
DT01
public static final DelegationTokenManagerException.ERROR DT01
DT02
public static final DelegationTokenManagerException.ERROR DT02
DT03
public static final DelegationTokenManagerException.ERROR DT03
DT04
public static final DelegationTokenManagerException.ERROR DT04
values
public static DelegationTokenManagerException.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 (DelegationTokenManagerException.ERROR c : DelegationTokenManagerException.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 DelegationTokenManagerException.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.