Class ThrowableUtils


  • public class ThrowableUtils
    extends java.lang.Object
    Utilities for manipulating different Throwable stack traces.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void appendEntryPointToCause​(java.lang.Throwable throwable, java.lang.Throwable originPoint)  
      static java.lang.String findCallerAfterClass​(java.lang.StackTraceElement[] stackTrace, java.lang.Class<?> afterThis)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • appendEntryPointToCause

        public static void appendEntryPointToCause​(java.lang.Throwable throwable,
                                                   java.lang.Throwable originPoint)
      • findCallerAfterClass

        public static java.lang.String findCallerAfterClass​(java.lang.StackTraceElement[] stackTrace,
                                                            java.lang.Class<?> afterThis)