@ApiStatus.Internal
  public @NotNull Throwable getFailureCause() {
    if (myFailureCause == null) {
      throw new AssertionError("not a failure");
    }
    return myFailureCause;
  }
@ApiStatus.Internal
  public @NotNull Throwable getFailureCause()