org.apache.hadoop.lib.service.security
Enum ProxyUserService.ERROR
java.lang.Object
java.lang.Enum<ProxyUserService.ERROR>
org.apache.hadoop.lib.service.security.ProxyUserService.ERROR
- All Implemented Interfaces:
- Serializable, Comparable<ProxyUserService.ERROR>, XException.ERROR
- Enclosing class:
- ProxyUserService
@InterfaceAudience.Private
public static enum ProxyUserService.ERROR
- extends Enum<ProxyUserService.ERROR>
- implements XException.ERROR
PRXU01
public static final ProxyUserService.ERROR PRXU01
PRXU02
public static final ProxyUserService.ERROR PRXU02
values
public static ProxyUserService.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 (ProxyUserService.ERROR c : ProxyUserService.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 ProxyUserService.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.