Improves the output of stack traces produced by exceptions in a Grails application.
| Modifiers | Name | Description |
|---|---|---|
java.lang.String |
FULL_STACK_TRACE_MESSAGE |
|
java.lang.String |
SYS_PROP_DISPLAY_FULL_STACKTRACE |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addInternalPackage(java.lang.String name)Adds a package name that should be filtered |
|
java.lang.Throwable |
filter(java.lang.Throwable source, boolean recursive) |
|
java.lang.Throwable |
filter(java.lang.Throwable source) |
|
void |
setCutOffPackage(java.lang.String cutOffPackage)Sets the package where the stack trace should end |
|
void |
setShouldFilter(boolean shouldFilter)@param shouldFilter Whether to filter stack traces or not |
Adds a package name that should be filtered
name - The name of the package
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
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 exceptionSets the package where the stack trace should end
cutOffPackage - The cut off package
shouldFilter - Whether to filter stack traces or not