withFilter

Return a new StandardStackTracePrinter from this one that will only include throwables (excluding caused and suppressed) that match the given predicate.

Return

a new StandardStackTracePrinter instance

Parameters

predicate

the predicate used to filter the throwable