# Class: com.pnfsoftware.jeb.util.base.Stacktraces

Utility routines to format stack\-traces.

## Constructor: Stacktraces


## Static Method: formatCallerOriginString
- return type: `java.lang.String`

Description: Format the current call origin chain.
return: formatted caller origin string

## Static Method: formatCallerOriginString
- parameter: `stlist`, type: `java.lang.StackTraceElement[]`
- return type: `java.lang.String`

Description: Format a call origin chain.
parameter: stlist: optional stack trace elements; if null, the current thread stack is used
return: formatted caller origin string

## Static Method: formatCallerOriginString
- parameter: `stlist`, type: `java.lang.StackTraceElement[]`
- parameter: `start`, type: `int`
- return type: `java.lang.String`

Description: Format a call origin chain starting at a stack trace index.
parameter: stlist: optional stack trace elements; if null, the current thread stack is used
parameter: start: first stack trace element index to format
return: formatted caller origin string

## Static Method: formatThreadStacktraces
- return type: `java.lang.String`

Description: Format the stack traces of all currently alive threads.
return: a record of threads and their current stacktraces

## Static Method: formatThreadStacktraces
- parameter: `excludeCurrentThread`, type: `boolean`
- parameter: `includeDeadThreads`, type: `boolean`
- return type: `java.lang.String`

Description: Format the stack traces of all threads.
parameter: excludeCurrentThread: true to omit the current thread
parameter: includeDeadThreads: true to include non\-alive threads returned by the JVM
return: a record of threads and their current stacktraces

## Static Method: getCallerString
- parameter: `skiplist`, type: `java.lang.String[]`
- return type: `java.lang.String`

Description: Retrieve a compact string identifying the first caller after the skipped stack frames.
parameter: skiplist: class name prefixes to skip before selecting a caller
return: caller string, or null if none was found

## Static Method: getCallerString
- parameter: `stlist`, type: `java.lang.StackTraceElement[]`
- parameter: `skiplist`, type: `java.lang.String[]`
- return type: `java.lang.String`

Description: Retrieve a compact string identifying the first caller after the skipped stack frames.
parameter: stlist: optional stack trace elements; if null, the current thread stack is used
parameter: skiplist: classes in the stack frame to be skipped before the first "interesting"            caller
return: caller string, or null if none was found

