Kactoos

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

IoCheckedProc

class IoCheckedProc<in X : Any> : Proc<X>

Proc that doesn’t throw checked Exception, but throws java.io.IOException instead.

There is no thread-safety guarantee.

Parameters

proc - Encapsulated func

X - Type of input

Since 0.4

Constructors

Name Summary
<init> IoCheckedProc(proc: Proc<X>)
Proc that doesn’t throw checked Exception, but throws java.io.IOException instead.

Functions

Name Summary
exec fun exec(input: X): Unit
Execute it.