public final class KeepThrowableFilter extends AbstractStackTraceElementsFilter
Constructor and Description |
---|
KeepThrowableFilter() |
KeepThrowableFilter(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 KeepThrowableFilter()
public KeepThrowableFilter(String arguments)
arguments
- Configured packages and classes to keep, 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.