- wrap
Wraps a block of code, converting checked exceptions to unchecked.
Unchecked.wrap(() -> {
// any c
- propagate
Propagates throwable as-is if possible, or by wrapping in a RuntimeException if
not. * If throwable
- biConsumer
Converts checked exceptions to unchecked based on the BiConsumer interface. This
wraps the specified
- biFunction
Converts checked exceptions to unchecked based on the BiFunction interface. This
wraps the specified
- biPredicate
Converts checked exceptions to unchecked based on the BiPredicate interface.
This wraps the specifi
- binaryOperator
Converts checked exceptions to unchecked based on the BinaryOperator interface.
This wraps the spec
- function
Converts checked exceptions to unchecked based on the Function interface. This
wraps the specified f
- predicate
Converts checked exceptions to unchecked based on the Predicate interface. This
wraps the specified
- runnable
Converts checked exceptions to unchecked based on the Runnable interface. This
wraps the specified r
- supplier
Converts checked exceptions to unchecked based on the Supplier interface. This
wraps the specified s
- unaryOperator
Converts checked exceptions to unchecked based on the UnaryOperator interface.
This wraps the speci