Enum Class Throwables.State

java.lang.Object
java.lang.Enum<Throwables.State>
org.junit.internal.Throwables.State
All Implemented Interfaces:
Serializable, Comparable<Throwables.State>, Constable
Enclosing class:
Throwables

private static enum Throwables.State extends Enum<Throwables.State>
  • Enum Constant Details

    • PROCESSING_OTHER_CODE

      public static final Throwables.State PROCESSING_OTHER_CODE
    • PROCESSING_TEST_FRAMEWORK_CODE

      public static final Throwables.State PROCESSING_TEST_FRAMEWORK_CODE
    • PROCESSING_REFLECTION_CODE

      public static final Throwables.State PROCESSING_REFLECTION_CODE
    • DONE

      public static final Throwables.State DONE
  • Constructor Details

    • State

      private State()
  • Method Details

    • values

      public static Throwables.State[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Throwables.State valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • processLine

      protected abstract Throwables.State processLine(String methodName)
      Processes a stack trace element method name, possibly moving to a new state.
    • processStackTraceElement

      public final Throwables.State processStackTraceElement(StackTraceElement element)
      Processes a stack trace element, possibly moving to a new state.