@InterfaceAudience.Private public static enum ServerException.ERROR extends Enum<ServerException.ERROR> implements XException.ERROR
Server
class.Enum Constant and Description |
---|
S01 |
S02 |
S03 |
S04 |
S05 |
S06 |
S07 |
S08 |
S09 |
S10 |
S11 |
S12 |
S13 |
S14 |
Modifier and Type | Method and Description |
---|---|
String |
getTemplate()
Returns the message template for the error code.
|
static ServerException.ERROR |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerException.ERROR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerException.ERROR S01
public static final ServerException.ERROR S02
public static final ServerException.ERROR S03
public static final ServerException.ERROR S04
public static final ServerException.ERROR S05
public static final ServerException.ERROR S06
public static final ServerException.ERROR S07
public static final ServerException.ERROR S08
public static final ServerException.ERROR S09
public static final ServerException.ERROR S10
public static final ServerException.ERROR S11
public static final ServerException.ERROR S12
public static final ServerException.ERROR S13
public static final ServerException.ERROR S14
public static ServerException.ERROR[] values()
for (ServerException.ERROR c : ServerException.ERROR.values()) System.out.println(c);
public static ServerException.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()
getTemplate
in interface XException.ERROR
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.