Uses of Interface
io.microsphere.lang.function.ThrowableConsumer
-
Packages that use ThrowableConsumer Package Description io.microsphere.lang.function io.microsphere.reflect -
-
Uses of ThrowableConsumer in io.microsphere.lang.function
Methods in io.microsphere.lang.function with parameters of type ThrowableConsumer Modifier and Type Method Description static <T> void
ThrowableConsumer. execute(T t, ThrowableConsumer<T> consumer)
Executes the givenThrowableConsumer
with the default exception handling.static <T> void
ThrowableConsumer. execute(T t, ThrowableConsumer<T> consumer, java.util.function.BiConsumer<T,java.lang.Throwable> exceptionHandler)
Executes the givenThrowableConsumer
with a custom exception handler. -
Uses of ThrowableConsumer in io.microsphere.reflect
Methods in io.microsphere.reflect with parameters of type ThrowableConsumer Modifier and Type Method Description static <E extends java.lang.reflect.Executable & java.lang.reflect.Member>
voidExecutableUtils. execute(E object, ThrowableConsumer<E> callback)
Executes the givenExecutable
object using the provided callback.
-