Enum BytecodeResult.Status

    • Enum Constant Detail

      • COMPLETED

        public static final BytecodeResult.Status COMPLETED
        The method returned normally; the return value is the only payload.
      • EXCEPTION

        public static final BytecodeResult.Status EXCEPTION
        An exception escaped the method unhandled, and is carried along with a stack trace.
      • INTERRUPTED

        public static final BytecodeResult.Status INTERRUPTED
        The run was stopped by an interrupt request rather than by the code itself.
      • INSTRUCTION_LIMIT

        public static final BytecodeResult.Status INSTRUCTION_LIMIT
        The run exhausted its instruction budget; the executed count is carried.
      • DEPTH_LIMIT

        public static final BytecodeResult.Status DEPTH_LIMIT
        The run exceeded the maximum call depth, meaning recursion or nesting ran away.
    • Method Detail

      • values

        public static BytecodeResult.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BytecodeResult.Status c : BytecodeResult.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BytecodeResult.Status 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