public class TraceSanitizerSupport extends ComponentSupport implements TraceSanitizer
Modifier and Type | Field and Description |
---|---|
static String[] |
FILTERED_PREFIXES |
config, feature, log
KEY
Constructor and Description |
---|
TraceSanitizerSupport(Feature feature) |
TraceSanitizerSupport(Feature feature,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(Class type) |
boolean |
filter(String className) |
void |
print(Throwable t) |
void |
print(Throwable t,
PrintWriter out) |
void |
print(Throwable t,
PrintWriter out,
boolean deep) |
Throwable |
sanitize(Throwable t) |
Throwable |
sanitize(Throwable t,
boolean deep) |
config, feature
public static final String[] FILTERED_PREFIXES
public TraceSanitizerSupport(Feature feature, Configuration config)
public TraceSanitizerSupport(Feature feature)
public boolean filter(String className)
filter
in interface TraceSanitizer
public boolean filter(Class type)
filter
in interface TraceSanitizer
public Throwable sanitize(Throwable t, boolean deep)
sanitize
in interface TraceSanitizer
public Throwable sanitize(Throwable t)
sanitize
in interface TraceSanitizer
public void print(Throwable t, PrintWriter out, boolean deep)
print
in interface TraceSanitizer
public void print(Throwable t, PrintWriter out)
print
in interface TraceSanitizer
public void print(Throwable t)
print
in interface TraceSanitizer
Copyright © 2006–2013 Codehaus. All rights reserved.