public class GrailsWrappedRuntimeException extends GrailsException
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)
|
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getClassName()
|
|
public java.lang.String[] |
getCodeSnippet()
|
|
public int |
getLineNumber()
|
|
public java.lang.String |
getMessage() |
|
public java.lang.String[] |
getStackTraceLines()
|
|
public java.lang.String |
getStackTraceText()
|
servletContext
- The ServletContext instancet
- The exception that was thrown