Package one.microstream.util
Class UtilStackTrace
- java.lang.Object
-
- one.microstream.util.UtilStackTrace
-
public class UtilStackTrace extends Object
-
-
Constructor Summary
Constructors Constructor Description UtilStackTrace()
-
Method Summary
Modifier and Type Method Description static StackTraceElement[]
cutStacktraceByN(StackTraceElement[] stacktrace, int n)
static <T extends Throwable>
TcutStacktraceByN(T throwable, int n)
static <T extends Throwable>
TcutStacktraceByOne(T throwable)
static <T extends Throwable>
TcutStacktraceTo(T t, Class<?> c, String methodName)
-
-
-
Method Detail
-
cutStacktraceTo
public static final <T extends Throwable> T cutStacktraceTo(T t, Class<?> c, String methodName)
-
cutStacktraceByOne
public static final <T extends Throwable> T cutStacktraceByOne(T throwable)
-
cutStacktraceByN
public static <T extends Throwable> T cutStacktraceByN(T throwable, int n)
-
cutStacktraceByN
public static StackTraceElement[] cutStacktraceByN(StackTraceElement[] stacktrace, int n)
-
-