public enum ErrorTypeEnum extends Enum<ErrorTypeEnum>
| Enum Constant and Description |
|---|
APPLICATION
Represents application.
|
PROTOCOL
Represents protocol.
|
RPC
Represents rpc.
|
TRANSPORT
Represents transport.
|
| Modifier and Type | Method and Description |
|---|---|
int |
errorTypeEnum()
Returns the attribute errorTypeEnum.
|
static ErrorTypeEnum |
of(int value)
Returns the object of errorTypeEnum for.
|
static ErrorTypeEnum |
of(String value)
Returns the object of errorTypeEnum for.
|
String |
toString() |
static ErrorTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorTypeEnum TRANSPORT
public static final ErrorTypeEnum RPC
public static final ErrorTypeEnum PROTOCOL
public static final ErrorTypeEnum APPLICATION
public static ErrorTypeEnum[] values()
for (ErrorTypeEnum c : ErrorTypeEnum.values()) System.out.println(c);
public static ErrorTypeEnum 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 ErrorTypeEnum of(int value)
value - value of errorTypeEnum forpublic static ErrorTypeEnum of(String value)
value - value of errorTypeEnum forpublic int errorTypeEnum()
public String toString()
toString in class Enum<ErrorTypeEnum>Copyright © 2018. All rights reserved.