kactoos-jvm / nnl.rocks.kactoos.func / CheckedProc
class CheckedProc<X : Any, E> : Proc<X>
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
| Name | Summary |
|---|---|
| <init> | CheckedProc(origin: KProc<X>, func: KFunc<Exception, E>)Proc that throws exception of specified type. |
| Name | Summary |
|---|---|
| exec | fun exec(input: X): UnitExecute it. |