Class ThrowableUtils
java.lang.Object
com.djrapitops.plan.utilities.java.ThrowableUtils
Utilities for manipulating different Throwable stack traces.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendEntryPointToCause
(Throwable throwable, StackTraceElement[] originPoint) static @NotNull StackTraceElement[]
combineStackTrace
(StackTraceElement[] originPoint, StackTraceElement[] cause) static String
findCallerAfterClass
(StackTraceElement[] stackTrace, Class<?> afterThis)
-
Method Details
-
appendEntryPointToCause
-
combineStackTrace
@NotNull public static @NotNull StackTraceElement[] combineStackTrace(StackTraceElement[] originPoint, StackTraceElement[] cause) -
findCallerAfterClass
-