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 |
---|---|
int |
asInteger() |
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, valueOf
compareTo
public 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 int asInteger()
asInteger
in interface net.morimekta.util.Numeric
public String asString()
asString
in interface net.morimekta.util.Stringable
public 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 © 2015–2016 morimekta.net. All rights reserved.