接口的使用
io.microsphere.lang.function.ThrowableConsumer
-
使用ThrowableConsumer的程序包 程序包 说明 io.microsphere.lang.function io.microsphere.reflect -
-
io.microsphere.lang.function中ThrowableConsumer的使用
参数类型为ThrowableConsumer的io.microsphere.lang.function中的方法 修饰符和类型 方法 说明 static <T> void
ThrowableConsumer. execute(T t, ThrowableConsumer<T> consumer)
ExecutesThrowableConsumer
withthe default exception handling
static <T> void
ThrowableConsumer. execute(T t, ThrowableConsumer<T> consumer, java.util.function.BiConsumer<T,java.lang.Throwable> exceptionHandler)
ExecutesThrowableConsumer
with the customized exception handling -
io.microsphere.reflect中ThrowableConsumer的使用
参数类型为ThrowableConsumer的io.microsphere.reflect中的方法 修饰符和类型 方法 说明 static <E extends java.lang.reflect.Executable & java.lang.reflect.Member>
voidExecutableUtils. execute(E object, ThrowableConsumer<E> callback)
Execute anExecutable
instance
-