public final class StripThrowableFilter extends AbstractStackTraceElementsFilter
Constructor and Description |
---|
StripThrowableFilter() |
StripThrowableFilter(String arguments) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldKept(String className,
List<String> filters)
Tests if the stack trace element of a passed class name should be kept.
|
filter, match
getArguments
public StripThrowableFilter()
public StripThrowableFilter(String arguments)
arguments
- Configured packages and classes to remove, separated by a vertical bar "|"protected boolean shouldKept(String className, List<String> filters)
AbstractStackTraceElementsFilter
shouldKept
in class AbstractStackTraceElementsFilter
className
- Fully-qualified class name to matchfilters
- Filters to applytrue
if the stack trace element of the passed class name should be kept, false
if notCopyright © 2020. All rights reserved.