接口的使用
io.microsphere.lang.function.ThrowableSupplier
-
使用ThrowableSupplier的程序包 程序包 说明 io.microsphere.lang.function io.microsphere.reflect -
-
io.microsphere.lang.function中ThrowableSupplier的使用
参数类型为ThrowableSupplier的io.microsphere.lang.function中的方法 修饰符和类型 方法 说明 static <T> T
ThrowableSupplier. execute(ThrowableSupplier<T> supplier)
ExecutesThrowableSupplier
withthe default exception handling
static <T> T
ThrowableSupplier. execute(ThrowableSupplier<T> supplier, java.util.function.Function<java.lang.Throwable,T> exceptionHandler)
ExecutesThrowableSupplier
with the customizedexception
handling -
io.microsphere.reflect中ThrowableSupplier的使用
参数类型为ThrowableSupplier的io.microsphere.reflect中的方法 修饰符和类型 方法 说明 static <E extends java.lang.reflect.Executable & java.lang.reflect.Member,R>
RExecutableUtils. execute(E executable, ThrowableSupplier<R> supplier)
Executes theExecutable
-