| Package | Description | 
|---|---|
| org.apache.commons.lang3 | 
 Provides highly reusable static utility methods, chiefly concerned with adding value to the  
java.lang classes. | 
| Modifier and Type | Method and Description | 
|---|---|
static <T extends Throwable> | 
Functions.run(Functions.FailableRunnable<T> pRunnable)
Runs a runnable and rethrows any exception as a  
RuntimeException. | 
static void | 
Functions.tryWithResources(Functions.FailableRunnable<? extends Throwable> pAction,
                Functions.FailableConsumer<Throwable,? extends Throwable> pErrorHandler,
                Functions.FailableRunnable<? extends Throwable>... pResources)
A simple try-with-resources implementation, that can be used, if your
 objects do not implement the  
AutoCloseable interface. | 
static void | 
Functions.tryWithResources(Functions.FailableRunnable<? extends Throwable> pAction,
                Functions.FailableConsumer<Throwable,? extends Throwable> pErrorHandler,
                Functions.FailableRunnable<? extends Throwable>... pResources)
A simple try-with-resources implementation, that can be used, if your
 objects do not implement the  
AutoCloseable interface. | 
static void | 
Functions.tryWithResources(Functions.FailableRunnable<? extends Throwable> pAction,
                Functions.FailableRunnable<? extends Throwable>... pResources)
A simple try-with-resources implementation, that can be used, if your
 objects do not implement the  
AutoCloseable interface. | 
static void | 
Functions.tryWithResources(Functions.FailableRunnable<? extends Throwable> pAction,
                Functions.FailableRunnable<? extends Throwable>... pResources)
A simple try-with-resources implementation, that can be used, if your
 objects do not implement the  
AutoCloseable interface. | 
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.