public class DefaultErrorHandler extends Object implements ErrorHandler
ErrorHandler for the application. Simply
returns a printed stack trace.| Constructor and Description |
|---|
DefaultErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
PlainText |
handleError(Throwable e)
This method is invoked when an error occurs during action processing.
|
public PlainText handleError(Throwable e)
ErrorHandlerThis method is invoked when an error occurs during action processing. Specifically, if a controller or action cannot be resolved, or the action cannot be invoked, or the original View cannot be rendered, this method is called, and the returned View is rendered.
handleError in interface ErrorHandlere - the Throwable thrown during action processingCopyright © 2011-2012 MojaveMVC.org