kactoos-jvm / nnl.rocks.kactoos.func / CheckedBiProc
class CheckedBiProc<X : Any, Y : Any, E> : BiProc<X, Y>
BiProc that throws exception of specified type.
X - Type of input
Y - Type of input
E - Exception’s type
origin - Original BiProc
func - Function that wraps exceptions.
Since 0.4
| Name | Summary |
|---|---|
| <init> | CheckedBiProc(origin: KBiProc<X, Y>, func: KFunc<Exception, E>)BiProc that throws exception of specified type. |
| Name | Summary |
|---|---|
| exec | fun exec(first: X, second: Y): UnitExecute it. |