public class Exceptions extends Object
| 构造器和说明 |
|---|
Exceptions() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getStackTraceAsString(Throwable ex)
将ErrorStack转化为String.
|
static RuntimeException |
unchecked(Throwable e)
将CheckedException转换为UncheckedException.
|
static Throwable |
unwrap(Throwable wrapped)
代理异常解包
|
public static String getStackTraceAsString(Throwable ex)
ex - Throwablepublic static RuntimeException unchecked(Throwable e)
e - ThrowableCopyright © 2015–2023 cn.gtmap. All rights reserved.