Class CheckedInput<E extends Exception>

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

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

      • CheckedInput

        public CheckedInput​(Input orig,
                            Func<Exception,​E> fnc)
        Ctor.
        Parameters:
        orig - Origin input.
        fnc - Function that wraps exceptions.
    • Method Detail