Package org.cactoos.proc
Class IoCheckedBiProc<X,Y>
- java.lang.Object
-
- org.cactoos.proc.IoCheckedBiProc<X,Y>
-
- Type Parameters:
X
- Type of inputY
- Type of input
- All Implemented Interfaces:
BiProc<X,Y>
public final class IoCheckedBiProc<X,Y> extends Object implements BiProc<X,Y>
BiProc that doesn't throw checkedException
, but throwsIOException
instead.There is no thread-safety guarantee.
- Since:
- 0.22
-
-
Constructor Summary
Constructors Constructor Description IoCheckedBiProc(BiProc<X,Y> prc)
Ctor.
-
-
-
Method Detail
-
exec
public void exec(X first, Y second) throws IOException
Description copied from interface:BiProc
Execute it.- Specified by:
exec
in interfaceBiProc<X,Y>
- Parameters:
first
- The first argumentsecond
- The second argument- Throws:
IOException
-
-