kactoos-jvm / nnl.rocks.kactoos.scalar / CheckedScalar / <init>
CheckedScalar(origin:
KScalar
<
T
>, func:
KFunc
<
Exception
,
E
>)
Scalar that wraps an original checked exception thrown by the origin using the given wrapping function.
There is no thread-safety guarantee.
T
- Type of result.
E
- Type of exception.
origin
- Original scalar.
func
- Function that wraps exception.
Since 0.4