public final class StackTraceSanitizer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StackTraceSanitizer.Builder |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull StackTraceSanitizer.Builder |
builder()
Returns a new
StackTraceSanitizer.Builder |
static @NotNull StackTraceSanitizer |
defaultSanitizer()
Returns the default sanitizer
|
static @NotNull StackTraceSanitizer |
none()
Returns the empty sanitizer
|
void |
sanitize(@NotNull java.lang.Throwable throwable)
Strips all the stack trace elements that meet the criteria of any
filter.
|
@Contract(pure=true) @NotNull public static @NotNull StackTraceSanitizer defaultSanitizer()
@Contract(pure=true) @NotNull public static @NotNull StackTraceSanitizer none()
@Contract(value="-> new") @NotNull public static @NotNull StackTraceSanitizer.Builder builder()
StackTraceSanitizer.Builderpublic void sanitize(@NotNull
@NotNull java.lang.Throwable throwable)
throwable - Throwable to strip