Uses of Interface
org.apache.commons.lang3.Functions.FailableRunnable
-
Packages that use Functions.FailableRunnable Package Description org.apache.commons.lang3 Provides highly reusable static utility methods, chiefly concerned with adding value to thejava.langclasses. -
-
Uses of Functions.FailableRunnable in org.apache.commons.lang3
Methods in org.apache.commons.lang3 with parameters of type Functions.FailableRunnable Modifier and Type Method Description static java.lang.RunnableFunctions. asRunnable(Functions.FailableRunnable<?> runnable)Deprecated.Converts the givenFunctions.FailableRunnableinto a standardRunnable.static <T extends java.lang.Throwable>
voidFunctions. run(Functions.FailableRunnable<T> runnable)Deprecated.Runs a runnable and rethrows any exception as aRuntimeException.static voidFunctions. tryWithResources(Functions.FailableRunnable<? extends java.lang.Throwable> action, Functions.FailableConsumer<java.lang.Throwable,? extends java.lang.Throwable> errorHandler, Functions.FailableRunnable<? extends java.lang.Throwable>... resources)Deprecated.A simple try-with-resources implementation, that can be used, if your objects do not implement theAutoCloseableinterface.static voidFunctions. tryWithResources(Functions.FailableRunnable<? extends java.lang.Throwable> action, Functions.FailableRunnable<? extends java.lang.Throwable>... resources)Deprecated.A simple try-with-resources implementation, that can be used, if your objects do not implement theAutoCloseableinterface.
-