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

  • Type Parameters:
    T - the type of the upstream content to map.
    U - the type of the new content to wrap into a new Result
    E - the type of the exceptions the supplier is expected to throw.
    Enclosing class:
    Result<T,​I>

    public static interface Result.ThrowingMapper<T,​U,​E extends java.lang.Throwable>
    A mapper which transforms a content into another but can throw exceptions.
    • Method Detail

      • map

        U map​(T upstreamContent)
        throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable