ThrowableFilterpublic final class KeepThrowableFilter extends AbstractStackTraceElementsFilter
| Constructor | Description |
|---|---|
KeepThrowableFilter() |
|
KeepThrowableFilter(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, matchgetArgumentspublic KeepThrowableFilter()
public KeepThrowableFilter(java.lang.String arguments)
arguments - Configured packages and classes to keep, separated by a vertical bar "|"protected boolean shouldKept(java.lang.String className,
java.util.List<java.lang.String> filters)
AbstractStackTraceElementsFiltershouldKept in class AbstractStackTraceElementsFilterclassName - 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 © 2023. All rights reserved.