Format the stack trace, returning the prefix consisting of frames that satisfy a given predicate.
Format the stack trace, returning the prefix consisting of frames that satisfy
a given predicate.
The format is similar to the typical case described in the JavaDoc
for java.lang.Throwable#printStackTrace.
If a stack trace is truncated, it will be followed by a line of the form
... 3 elided
, by analogy to the lines ... 3 more
which indicate
shared stack trace segments.
the predicate to select the prefix
Format a stack trace, returning the prefix consisting of frames that satisfy a given predicate.
Format a stack trace, returning the prefix consisting of frames that satisfy
a given predicate.
The format is similar to the typical case described in the JavaDoc
for java.lang.Throwable#printStackTrace.
If a stack trace is truncated, it will be followed by a line of the form
... 3 elided
, by analogy to the lines ... 3 more
which indicate
shared stack trace segments.
the exception
the predicate to select the prefix
(Since version 2.11.0) Use Throwable#getStackTrace