ThrowableFilter
public final class StripThrowableFilter extends AbstractStackTraceElementsFilter
Constructor | Description |
---|---|
StripThrowableFilter() |
|
StripThrowableFilter(java.lang.String arguments) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
shouldKept(java.lang.String className,
java.util.List<java.lang.String> filters) |
Tests if the stack trace element of a passed class name should be kept.
|
filter, match
getArguments
public StripThrowableFilter()
public StripThrowableFilter(java.lang.String arguments)
arguments
- Configured packages and classes to remove, separated by a vertical bar "|"protected boolean shouldKept(java.lang.String className, java.util.List<java.lang.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 © 2022. All rights reserved.