Class UniCreateFromFailureSupplier<T>

  • Type Parameters:
    T - the type of the item
    All Implemented Interfaces:
    Uni<T>

    public class UniCreateFromFailureSupplier<T>
    extends AbstractUni<T>
    Specialized Uni implementation for the case where the failure is produced by a supplier. The supplied failure cannot be null.
    • Constructor Detail

      • UniCreateFromFailureSupplier

        public UniCreateFromFailureSupplier​(java.util.function.Supplier<java.lang.Throwable> supplier)