Kactoos

kactoos-jvm / nnl.rocks.kactoos.func / CheckedProc / <init>

<init>

CheckedProc(origin: KProc<X>, func: KFunc<Exception, E>)

Proc that throws exception of specified type.

Parameters

X - Type of input

E - Exception’s type

origin - Original proc

func - Function that wraps exceptions.

Since 0.4