Kactoos

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

<init>

CheckedBiProc(origin: KBiProc<X, Y>, func: KFunc<Exception, E>)

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