Kactoos

kactoos-jvm / nnl.rocks.kactoos.io / CheckedBytes / <init>

<init>

CheckedBytes(origin: Bytes, func: KFunc<Exception, E>)

Bytes that throws exception of specified type.

Parameters

E - Exception’s type.

origin - Origin bytes.

func - Function that wraps exceptions.

Since 0.4