|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface StackTracePrinter
Defines method for pretty printing Stack traces.
Method Summary | |
---|---|
java.lang.String
|
prettyPrint(java.lang.Throwable throwable)
Pretty print the given stack trace and return the result |
java.lang.String
|
prettyPrintCodeSnippet(java.lang.Throwable exception)
Attempts to present a preview code snippet of the code that went wrong |
Method Detail |
---|
java.lang.String prettyPrint(java.lang.Throwable throwable)
throwable
- The throwable
java.lang.String prettyPrintCodeSnippet(java.lang.Throwable exception)
exception
- The exception
Groovy Documentation