Kactoos

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

CheckedOutput

class CheckedOutput<E> : Output

Output that throws exception of specified type.

Parameters

E - Exception’s type.

origin - Origin output.

func - Function that wraps exceptions.

Since 0.4

Constructors

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

Functions

Name Summary
stream fun stream(): OutputStream
Get write access to it.