|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StackTraceFilterer
Improves the output of stack traces produced by exceptions in a Grails application.
| Field Summary | |
|---|---|
static java.lang.String |
FULL_STACK_TRACE_MESSAGE
|
static java.lang.String |
SYS_PROP_DISPLAY_FULL_STACKTRACE
|
| Method Summary | |
|---|---|
void |
addInternalPackage(java.lang.String name)
Adds a package name that should be filtered |
java.lang.Throwable |
filter(java.lang.Throwable source)
Remove all apparently Grails-internal trace entries from the exception instance |
java.lang.Throwable |
filter(java.lang.Throwable source,
boolean recursive)
Remove all apparently Grails-internal trace entries from the exception instance |
void |
setCutOffPackage(java.lang.String cutOffPackage)
Sets the package where the stack trace should end |
void |
setShouldFilter(boolean shouldFilter)
|
| Field Detail |
|---|
static final java.lang.String FULL_STACK_TRACE_MESSAGE
static final java.lang.String SYS_PROP_DISPLAY_FULL_STACKTRACE
| Method Detail |
|---|
void addInternalPackage(java.lang.String name)
name - The name of the packagevoid setCutOffPackage(java.lang.String cutOffPackage)
cutOffPackage - The cut off package
java.lang.Throwable filter(java.lang.Throwable source,
boolean recursive)
Remove all apparently Grails-internal trace entries from the exception instance
This modifies the original instance and returns it, it does not clone
source - The source exceptionrecursive - Whether to recursively filter the cause
java.lang.Throwable filter(java.lang.Throwable source)
Remove all apparently Grails-internal trace entries from the exception instance
This modifies the original instance and returns it, it does not clone
source - The source exception
void setShouldFilter(boolean shouldFilter)
shouldFilter - Whether to filter stack traces or not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||