Kactoos

kactoos-jvm / nnl.rocks.kactoos.func / CheckedBiProc

CheckedBiProc

class CheckedBiProc<X : Any, Y : Any, E> : BiProc<X, Y>

BiProc that throws exception of specified type.

Parameters

X - Type of input

Y - Type of input

E - Exception’s type

origin - Original BiProc

func - Function that wraps exceptions.

Since 0.4

Constructors

Name Summary
<init> CheckedBiProc(origin: KBiProc<X, Y>, func: KFunc<Exception, E>)
BiProc that throws exception of specified type.

Functions

Name Summary
exec fun exec(first: X, second: Y): Unit
Execute it.