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

public enum RPCExceptionType extends Enum<RPCExceptionType>
a list of RPC exception type handled by evomaster
  • Enum Constant Details

    • CUSTOMIZED_EXCEPTION

      public static final RPCExceptionType CUSTOMIZED_EXCEPTION
      customized exception eg, CustomizedException extends Exception{}
    • UNEXPECTED_EXCEPTION

      public static final RPCExceptionType 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

      public static final RPCExceptionType APP_BAD_SEQUENCE_ID
    • APP_INTERNAL_ERROR

      public static final RPCExceptionType APP_INTERNAL_ERROR
    • APP_INVALID_MESSAGE_TYPE

      public static final RPCExceptionType APP_INVALID_MESSAGE_TYPE
    • APP_INVALID_PROTOCOL

      public static final RPCExceptionType APP_INVALID_PROTOCOL
    • APP_INVALID_TRANSFORM

      public static final RPCExceptionType APP_INVALID_TRANSFORM
    • APP_MISSING_RESULT

      public static final RPCExceptionType APP_MISSING_RESULT
    • APP_PROTOCOL_ERROR

      public static final RPCExceptionType APP_PROTOCOL_ERROR
    • APP_UNKNOWN

      public static final RPCExceptionType APP_UNKNOWN
    • APP_UNKNOWN_METHOD

      public static final RPCExceptionType APP_UNKNOWN_METHOD
    • APP_UNSUPPORTED_CLIENT_TYPE

      public static final RPCExceptionType APP_UNSUPPORTED_CLIENT_TYPE
    • APP_WRONG_METHOD_NAME

      public static final RPCExceptionType APP_WRONG_METHOD_NAME
    • TRANS_ALREADY_OPEN

      public static final RPCExceptionType TRANS_ALREADY_OPEN
    • TRANS_CORRUPTED_DATA

      public static final RPCExceptionType TRANS_CORRUPTED_DATA
    • TRANS_END_OF_FILE

      public static final RPCExceptionType TRANS_END_OF_FILE
    • TRANS_NOT_OPEN

      public static final RPCExceptionType TRANS_NOT_OPEN
    • TRANS_TIMED_OUT

      public static final RPCExceptionType TRANS_TIMED_OUT
    • TRANS_UNKNOWN

      public static final RPCExceptionType TRANS_UNKNOWN
    • PROTO_BAD_VERSION

      public static final RPCExceptionType PROTO_BAD_VERSION
    • PROTO_DEPTH_LIMIT

      public static final RPCExceptionType PROTO_DEPTH_LIMIT
    • PROTO_INVALID_DATA

      public static final RPCExceptionType PROTO_INVALID_DATA
    • PROTO_NEGATIVE_SIZE

      public static final RPCExceptionType PROTO_NEGATIVE_SIZE
    • PROTO_NOT_IMPLEMENTED

      public static final RPCExceptionType PROTO_NOT_IMPLEMENTED
    • PROTO_SIZE_LIMIT

      public static final RPCExceptionType PROTO_SIZE_LIMIT
    • PROTO_UNKNOWN

      public static final RPCExceptionType PROTO_UNKNOWN
  • Field Details

    • supportedRPC

      public final RPCType[] 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

      public final RPCExceptionCategory category
      a category for the exception
    • intValue

      public final int intValue
      a value for this exception it could be used for identifying the exception
  • Method Details

    • values

      public static RPCExceptionType[] 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

      public static RPCExceptionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null