| 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 <O,T extends Throwable> | 
Functions.accept(Functions.FailableConsumer<O,T> pConsumer,
      O pObject)
Consumes a consumer 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. | 
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.