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