Class CheckedOutput<E extends Exception>

  • Type Parameters:
    E - Exception's type.
    All Implemented Interfaces:
    Output

    public final class CheckedOutput<E extends Exception>
    extends Object
    implements Output
    Output that throws exception of specified type.
    Since:
    0.31
    • Constructor Detail

      • CheckedOutput

        public CheckedOutput​(Output orig,
                             Func<Exception,​E> fnc)
        Ctor.
        Parameters:
        orig - Origin output.
        fnc - Function that wraps exceptions.