public class ExceptionUtils extends Object
| 构造器和说明 |
|---|
ExceptionUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static RuntimeException |
toRuntimeException(Throwable proxy) |
static Throwable |
toRuntimeException(Throwable proxy,
Class<?>[] exceptionTypes) |
static RuntimeException |
toRuntimeException(Throwable proxy,
Function<Throwable,RuntimeException> conver)
将异常包装为
RuntimeException |
public static RuntimeException toRuntimeException(Throwable proxy)
public static RuntimeException toRuntimeException(Throwable proxy, Function<Throwable,RuntimeException> conver)
RuntimeExceptionCopyright © 2020. All rights reserved.