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. |
Methods inherited from class | Name |
---|---|
class org.grails.core.exceptions.GrailsException |
org.grails.core.exceptions.GrailsException#printStackTrace(), org.grails.core.exceptions.GrailsException#printStackTrace(java.io.PrintWriter), org.grails.core.exceptions.GrailsException#printStackTrace(java.io.PrintStream), org.grails.core.exceptions.GrailsException#fillInStackTrace(), org.grails.core.exceptions.GrailsException#getCause(), org.grails.core.exceptions.GrailsException#initCause(java.lang.Throwable), org.grails.core.exceptions.GrailsException#toString(), org.grails.core.exceptions.GrailsException#getMessage(), org.grails.core.exceptions.GrailsException#getLocalizedMessage(), org.grails.core.exceptions.GrailsException#getStackTrace(), org.grails.core.exceptions.GrailsException#setStackTrace([Ljava.lang.StackTraceElement;), org.grails.core.exceptions.GrailsException#addSuppressed(java.lang.Throwable), org.grails.core.exceptions.GrailsException#getSuppressed(), org.grails.core.exceptions.GrailsException#wait(long, int), org.grails.core.exceptions.GrailsException#wait(long), org.grails.core.exceptions.GrailsException#wait(), org.grails.core.exceptions.GrailsException#equals(java.lang.Object), org.grails.core.exceptions.GrailsException#hashCode(), org.grails.core.exceptions.GrailsException#getClass(), org.grails.core.exceptions.GrailsException#notify(), org.grails.core.exceptions.GrailsException#notifyAll() |
class java.lang.RuntimeException |
java.lang.RuntimeException#printStackTrace(), java.lang.RuntimeException#printStackTrace(java.io.PrintWriter), java.lang.RuntimeException#printStackTrace(java.io.PrintStream), java.lang.RuntimeException#fillInStackTrace(), java.lang.RuntimeException#getCause(), java.lang.RuntimeException#initCause(java.lang.Throwable), java.lang.RuntimeException#toString(), java.lang.RuntimeException#getMessage(), java.lang.RuntimeException#getLocalizedMessage(), java.lang.RuntimeException#getStackTrace(), java.lang.RuntimeException#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.RuntimeException#addSuppressed(java.lang.Throwable), java.lang.RuntimeException#getSuppressed(), java.lang.RuntimeException#wait(long, int), java.lang.RuntimeException#wait(long), java.lang.RuntimeException#wait(), java.lang.RuntimeException#equals(java.lang.Object), java.lang.RuntimeException#hashCode(), java.lang.RuntimeException#getClass(), java.lang.RuntimeException#notify(), java.lang.RuntimeException#notifyAll() |
servletContext
- The ServletContext instancet
- The exception that was thrown