ThrowableFilterKeepThrowableFilter, StripThrowableFilterpublic abstract class AbstractStackTraceElementsFilter extends AbstractThrowableFilter
| Constructor | Description |
|---|---|
AbstractStackTraceElementsFilter(java.lang.String arguments) |
| Modifier and Type | Method | Description |
|---|---|---|
ThrowableData |
filter(ThrowableData origin) |
Filters or transforms an exception or other throwables.
|
protected boolean |
match(java.lang.String className,
java.lang.String filter) |
Tests if a passed filter matches a given fully-qualified class name.
|
protected abstract 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.
|
getArgumentspublic AbstractStackTraceElementsFilter(java.lang.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(java.lang.String className,
java.util.List<java.lang.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 notprotected boolean match(java.lang.String className,
java.lang.String filter)
className - Fully-qualified class name to matchfilter - Filter to applytrue if the filter matches the given class name, false if notCopyright © 2022. All rights reserved.