Enum RPCExceptionType
java.lang.Object
java.lang.Enum<RPCExceptionType>
org.evomaster.client.java.controller.api.dto.problem.rpc.exception.RPCExceptionType
- All Implemented Interfaces:
Serializable,Comparable<RPCExceptionType>,java.lang.constant.Constable
a list of RPC exception type handled by evomaster
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioncustomized exception eg, CustomizedException extends Exception{}this exception is thrown during execution, but not declared in the endpoint this case is identified as a bug, eg, runtime exception which is unchecked https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html category might be application (currently set as Others), however, need a clear definition for each category -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal RPCExceptionCategorya category for the exceptionfinal inta value for this exception it could be used for identifying the exceptionfinal RPCType[]an exception could exist in which RPC schemas, eg, APP_INTERNAL_ERROR might be identified by thrift and gRPC with a specific exception -
Method Summary
Modifier and TypeMethodDescriptionstatic RPCExceptionTypeReturns the enum constant of this type with the specified name.static RPCExceptionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CUSTOMIZED_EXCEPTION
customized exception eg, CustomizedException extends Exception{} -
UNEXPECTED_EXCEPTION
this exception is thrown during execution, but not declared in the endpoint this case is identified as a bug, eg, runtime exception which is unchecked https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html category might be application (currently set as Others), however, need a clear definition for each category -
APP_BAD_SEQUENCE_ID
-
APP_INTERNAL_ERROR
-
APP_INVALID_MESSAGE_TYPE
-
APP_INVALID_PROTOCOL
-
APP_INVALID_TRANSFORM
-
APP_MISSING_RESULT
-
APP_PROTOCOL_ERROR
-
APP_UNKNOWN
-
APP_UNKNOWN_METHOD
-
APP_UNSUPPORTED_CLIENT_TYPE
-
APP_WRONG_METHOD_NAME
-
TRANS_ALREADY_OPEN
-
TRANS_CORRUPTED_DATA
-
TRANS_END_OF_FILE
-
TRANS_NOT_OPEN
-
TRANS_TIMED_OUT
-
TRANS_UNKNOWN
-
PROTO_BAD_VERSION
-
PROTO_DEPTH_LIMIT
-
PROTO_INVALID_DATA
-
PROTO_NEGATIVE_SIZE
-
PROTO_NOT_IMPLEMENTED
-
PROTO_SIZE_LIMIT
-
PROTO_UNKNOWN
-
-
Field Details
-
supportedRPC
an exception could exist in which RPC schemas, eg, APP_INTERNAL_ERROR might be identified by thrift and gRPC with a specific exception -
category
a category for the exception -
intValue
public final int intValuea value for this exception it could be used for identifying the exception
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-