public enum ApplicationExceptionType extends Enum<ApplicationExceptionType> implements PEnumValue<ApplicationExceptionType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationExceptionType._Builder |
| Enum Constant and Description |
|---|
BAD_SEQUENCE_ID |
INTERNAL_ERROR |
INVALID_MESSAGE_TYPE |
INVALID_PROTOCOL |
INVALID_TRANSFORM |
MISSING_RESULT |
PROTOCOL_ERROR |
UNKNOWN |
UNKNOWN_METHOD |
UNSUPPORTED_CLIENT_TYPE |
WRONG_METHOD_NAME |
| Modifier and Type | Field and Description |
|---|---|
static PEnumDescriptor<ApplicationExceptionType> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
PEnumDescriptor<ApplicationExceptionType> |
descriptor() |
static ApplicationExceptionType |
forName(String name) |
static ApplicationExceptionType |
forValue(int value) |
String |
getName() |
int |
getValue() |
static PEnumDescriptorProvider<ApplicationExceptionType> |
provider() |
static ApplicationExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcompareTopublic static final ApplicationExceptionType UNKNOWN
public static final ApplicationExceptionType UNKNOWN_METHOD
public static final ApplicationExceptionType INVALID_MESSAGE_TYPE
public static final ApplicationExceptionType WRONG_METHOD_NAME
public static final ApplicationExceptionType BAD_SEQUENCE_ID
public static final ApplicationExceptionType MISSING_RESULT
public static final ApplicationExceptionType INTERNAL_ERROR
public static final ApplicationExceptionType PROTOCOL_ERROR
public static final ApplicationExceptionType INVALID_TRANSFORM
public static final ApplicationExceptionType INVALID_PROTOCOL
public static final ApplicationExceptionType UNSUPPORTED_CLIENT_TYPE
public static final PEnumDescriptor<ApplicationExceptionType> kDescriptor
public static ApplicationExceptionType[] values()
for (ApplicationExceptionType c : ApplicationExceptionType.values()) System.out.println(c);
public static ApplicationExceptionType 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 int getValue()
getValue in interface PEnumValue<ApplicationExceptionType>public String getName()
getName in interface PEnumValue<ApplicationExceptionType>public String asString()
asString in interface net.morimekta.util.Stringablepublic static ApplicationExceptionType forValue(int value)
public static ApplicationExceptionType forName(String name)
public PEnumDescriptor<ApplicationExceptionType> descriptor()
descriptor in interface PValue<ApplicationExceptionType>public static PEnumDescriptorProvider<ApplicationExceptionType> provider()
Copyright © 2016. All rights reserved.