public class Exceptions extends Object
| 构造器和说明 |
|---|
Exceptions() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Throwable |
getRootCause(Throwable t) |
static Throwable |
getRootCauseSafely(Throwable t) |
static Throwable |
getRootCauseUntil(Throwable t,
Predicate<Throwable> predicate) |
static String |
getStackTrace(Throwable t) |
static <T extends Exception> |
of(Throwable t,
Class<T> type,
Function<Throwable,T> builder) |
static <T extends Exception> |
of(Throwable t,
Class<T> type,
Supplier<T> builder) |
Copyright © 2024 fossc. All rights reserved.