public static enum TApplicationException.Type extends Enum<TApplicationException.Type>
| 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 | Method and Description |
|---|---|
static Optional<TApplicationException.Type> |
fromTypeId(int typeId) |
int |
getType() |
static TApplicationException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TApplicationException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TApplicationException.Type UNKNOWN
public static final TApplicationException.Type UNKNOWN_METHOD
public static final TApplicationException.Type INVALID_MESSAGE_TYPE
public static final TApplicationException.Type WRONG_METHOD_NAME
public static final TApplicationException.Type BAD_SEQUENCE_ID
public static final TApplicationException.Type MISSING_RESULT
public static final TApplicationException.Type INTERNAL_ERROR
public static final TApplicationException.Type PROTOCOL_ERROR
public static final TApplicationException.Type INVALID_TRANSFORM
public static final TApplicationException.Type INVALID_PROTOCOL
public static final TApplicationException.Type UNSUPPORTED_CLIENT_TYPE
public static TApplicationException.Type[] values()
for (TApplicationException.Type c : TApplicationException.Type.values()) System.out.println(c);
public static TApplicationException.Type 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 getType()
public static Optional<TApplicationException.Type> fromTypeId(int typeId)
Copyright © 2012–2023. All rights reserved.