Package org.asynchttpclient.util
Class ThrowableUtil
- java.lang.Object
-
- org.asynchttpclient.util.ThrowableUtil
-
public final class ThrowableUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Throwable>
TunknownStackTrace(T t, Class<?> clazz, String method)
-
-
-
Method Detail
-
unknownStackTrace
public static <T extends Throwable> T unknownStackTrace(T t, Class<?> clazz, String method)
- Type Parameters:
T
- the Throwable type- Parameters:
t
- the throwable whose stacktrace we want to removeclazz
- the caller classmethod
- the caller method- Returns:
- the input throwable with removed stacktrace
-
-