Wraps a Grails RuntimeException and attempts to extract more relevent diagnostic messages from the stack trace.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
URL_PREFIX |
Constructor and description |
---|
GrailsWrappedRuntimeException
(javax.servlet.ServletContext servletContext, java.lang.Throwable t) @param servletContext The ServletContext instance |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
getClassName() @return Returns the className. |
|
java.lang.String[] |
getCodeSnippet() @return Returns the line. |
|
int |
getLineNumber() @return Returns the lineNumber. |
|
java.lang.String |
getMessage() |
|
java.lang.String[] |
getStackTraceLines() @return Returns the stackTrace lines |
|
java.lang.String |
getStackTraceText() @return Returns the stackTrace. |
servletContext
- The ServletContext instancet
- The exception that was thrown