org.codehaus.groovy.maven.runtime.support
Class TraceSanitizerSupport
java.lang.Object
org.codehaus.groovy.maven.feature.support.ComponentSupport
org.codehaus.groovy.maven.runtime.support.TraceSanitizerSupport
- All Implemented Interfaces:
- Component, TraceSanitizer
public class TraceSanitizerSupport
- extends ComponentSupport
- implements TraceSanitizer
Provides a default stack trace sanitizer, should work with most versions of Groovy.
- Version:
- $Id: TraceSanitizerSupport.java 11689 2008-04-17 07:19:46Z user57 $
- Author:
- Jason Dillon
Method Summary |
boolean |
filter(java.lang.Class type)
|
boolean |
filter(java.lang.String className)
|
void |
print(java.lang.Throwable t)
|
void |
print(java.lang.Throwable t,
java.io.PrintWriter out)
|
void |
print(java.lang.Throwable t,
java.io.PrintWriter out,
boolean deep)
|
java.lang.Throwable |
sanitize(java.lang.Throwable t)
|
java.lang.Throwable |
sanitize(java.lang.Throwable t,
boolean deep)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILTERED_PREFIXES
public static final java.lang.String[] FILTERED_PREFIXES
TraceSanitizerSupport
public TraceSanitizerSupport(Feature feature,
Configuration config)
TraceSanitizerSupport
public TraceSanitizerSupport(Feature feature)
filter
public boolean filter(java.lang.String className)
- Specified by:
filter
in interface TraceSanitizer
filter
public boolean filter(java.lang.Class type)
- Specified by:
filter
in interface TraceSanitizer
sanitize
public java.lang.Throwable sanitize(java.lang.Throwable t,
boolean deep)
- Specified by:
sanitize
in interface TraceSanitizer
sanitize
public java.lang.Throwable sanitize(java.lang.Throwable t)
- Specified by:
sanitize
in interface TraceSanitizer
print
public void print(java.lang.Throwable t,
java.io.PrintWriter out,
boolean deep)
- Specified by:
print
in interface TraceSanitizer
print
public void print(java.lang.Throwable t,
java.io.PrintWriter out)
- Specified by:
print
in interface TraceSanitizer
print
public void print(java.lang.Throwable t)
- Specified by:
print
in interface TraceSanitizer
Copyright © 2006-2008 Codehaus. All Rights Reserved.