public class

Stacktraces

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.base.Stacktraces

Class Overview

Utility routines to format stack-traces.

Summary

Public Constructors
Stacktraces()
Public Methods
static String formatCallerOriginString(StackTraceElement[] stlist)
static String formatThreadStacktraces()
Format the stack traces of all currently alive threads.
static String getCallerString(String... skiplist)
static String getCallerString(StackTraceElement[] stlist, String... skiplist)
@param
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Stacktraces ()

Public Methods

public static String formatCallerOriginString (StackTraceElement[] stlist)

public static String formatThreadStacktraces ()

Format the stack traces of all currently alive threads.

Returns
  • a record of threads and their current stacktraces

public static String getCallerString (String... skiplist)

public static String getCallerString (StackTraceElement[] stlist, String... skiplist)

@param

Parameters
skiplist classes in the stack frame to be skipped before the first "interesting" caller