Package io.micronaut.aot.internal
Class StreamHelper
java.lang.Object
io.micronaut.aot.internal.StreamHelper
Utility methods to deal with exceptions being
thrown in streams.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A helper interface for runnables which may throw an exception.static interface
A helper interface to capture suppliers which may throw an exception. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
trying
(StreamHelper.ThrowingRunner runner) static <T> T
trying
(StreamHelper.ThrowingSupplier<T> supplier)
-
Constructor Details
-
StreamHelper
public StreamHelper()
-
-
Method Details
-
trying
-
trying
-