public final class ThrowableUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends Throwable> |
unknownStackTrace(T t,
Class<?> clazz,
String method) |
public static <T extends Throwable> T unknownStackTrace(T t, Class<?> clazz, String method)
T - the Throwable typet - the throwable whose stacktrace we want to removeclazz - the caller classmethod - the caller methodCopyright © 2020. All rights reserved.