Interface Result.ThrowingSupplier<T,​E extends java.lang.Throwable>

  • Type Parameters:
    T - the type of the content to be wrapped by a Result.
    E - the type of the exceptions the supplier is expected to throw.
    Enclosing class:
    Result<T,​I>

    public static interface Result.ThrowingSupplier<T,​E extends java.lang.Throwable>
    A supplier for result content which can throw exceptions.
    • Method Detail

      • supply

        T supply()
          throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable