@InterfaceAudience.Private public static enum ProxyUserService.ERROR extends Enum<ProxyUserService.ERROR> implements XException.ERROR
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ProxyUserService.ERROR PRXU01
public static final ProxyUserService.ERROR PRXU02
public static ProxyUserService.ERROR[] values()
for (ProxyUserService.ERROR c : ProxyUserService.ERROR.values()) System.out.println(c);
public static ProxyUserService.ERROR valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getTemplate()
XException.ERROR
getTemplate
in interface XException.ERROR
MessageFormat
syntax (using {#} positional parameters).Copyright © 2013 Apache Software Foundation. All rights reserved.