public static enum DocumentedException.ErrorType extends Enum<DocumentedException.ErrorType>
Enum Constant and Description |
---|
APPLICATION |
PROTOCOL |
RPC |
TRANSPORT |
Modifier and Type | Method and Description |
---|---|
static DocumentedException.ErrorType |
from(String text) |
String |
getTagValue()
Deprecated.
Use
getTypeValue() instead. |
String |
getTypeValue() |
static DocumentedException.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentedException.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentedException.ErrorType TRANSPORT
public static final DocumentedException.ErrorType RPC
public static final DocumentedException.ErrorType PROTOCOL
public static final DocumentedException.ErrorType APPLICATION
public static DocumentedException.ErrorType[] values()
for (DocumentedException.ErrorType c : DocumentedException.ErrorType.values()) System.out.println(c);
public static DocumentedException.ErrorType 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 static DocumentedException.ErrorType from(String text)
public String getTypeValue()
@Deprecated public String getTagValue()
getTypeValue()
instead.Copyright © 2020. All rights reserved.