public abstract class AbstractStackTraceElementsFilter extends AbstractThrowableFilter
| Constructor and Description |
|---|
AbstractStackTraceElementsFilter(String arguments) |
| Modifier and Type | Method and Description |
|---|---|
ThrowableData |
filter(ThrowableData origin)
Filters or transforms an exception or other throwables.
|
protected boolean |
match(String className,
String filter)
Tests if a passed filter matches a given fully-qualified class name.
|
protected abstract boolean |
shouldKept(String className,
List<String> filters)
Tests if the stack trace element of a passed class name should be kept.
|
getArgumentspublic AbstractStackTraceElementsFilter(String arguments)
arguments - Configured packages and classes, separated by a vertical bar "|"public ThrowableData filter(ThrowableData origin)
ThrowableFilterorigin - Original exception or other throwableprotected abstract boolean shouldKept(String className, List<String> filters)
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.