Kactoos

kactoos-jvm / nnl.rocks.kactoos.io / CheckedInput

CheckedInput

class CheckedInput<E> : Input

Input that throws exception of specified type.

Parameters

E - Exception’s type.

origin - Origin input.

func - Function that wraps exceptions.

Since 0.4

Constructors

Name Summary
<init> CheckedInput(origin: Input, func: KFunc<Exception, E>)
Input that throws exception of specified type.

Functions

Name Summary
stream fun stream(): InputStream
Get read access to it.