Class StacktraceDataProvider


  • public class StacktraceDataProvider
    extends java.lang.Object
    Helper class for dealing with stack traces.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int MAX_TAIL_FRAMES  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getRelevantTraceHtmlList​(StacktraceModel.Branch branch, int rootItems)
      Generates an HTML representation of a given stack trace branch as an unordered list.
      • Methods inherited from class java.lang.Object

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

      • StacktraceDataProvider

        public StacktraceDataProvider()
    • Method Detail

      • getRelevantTraceHtmlList

        public static java.lang.String getRelevantTraceHtmlList​(StacktraceModel.Branch branch,
                                                                int rootItems)
        Generates an HTML representation of a given stack trace branch as an unordered list.
        Parameters:
        branch - the branch to represent as HTML
        rootItems - the total amount of frames in the root branch
        Returns:
        an HTML representation of a stack trace