com.cloudera.lib.service.security
Enum ProxyUserService.ERROR

java.lang.Object
  extended by java.lang.Enum<ProxyUserService.ERROR>
      extended by com.cloudera.lib.service.security.ProxyUserService.ERROR
All Implemented Interfaces:
XException.ERROR, Serializable, Comparable<ProxyUserService.ERROR>
Enclosing class:
ProxyUserService

public static enum ProxyUserService.ERROR
extends Enum<ProxyUserService.ERROR>
implements XException.ERROR


Enum Constant Summary
PRXU01
           
PRXU02
           
 
Method Summary
 String getTemplate()
          Returns the template for the error.
static ProxyUserService.ERROR valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProxyUserService.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

PRXU01

public static final ProxyUserService.ERROR PRXU01

PRXU02

public static final ProxyUserService.ERROR PRXU02
Method Detail

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 © 2012 Cloudera. All Rights Reserved.