kactoos-jvm / nnl.rocks.kactoos.func / CheckedProc / <init>
CheckedProc(origin:
KProc
<
X
>, func:
KFunc
<
Exception
,
E
>)
Proc that throws exception of specified type.
X
- Type of input
E
- Exception’s type
origin
- Original proc
func
- Function that wraps exceptions.
Since 0.4