Interface Assertions.TimeoutFailureFactory<T extends Throwable>

Type Parameters:
T - The type of error or exception created
Enclosing class:
Assertions

@API(status=INTERNAL, since="5.9.1") public static interface Assertions.TimeoutFailureFactory<T extends Throwable>
Factory for timeout failures.
Since:
5.9.1
See Also:
  • Method Details

    • createTimeoutFailure

      T createTimeoutFailure(Duration timeout, Supplier<String> messageSupplier, Throwable cause)
      Create a failure for the given timeout, message, and cause.
      Returns:
      timeout failure; never null