Prints usage and error message.
Please note that this method does not terminate the program.
@param e Error thrown by {@link #parseArgs(String[])}. If the response has already been committed, an error message should be logged but no further processing should take place.
@param status The HTTP status code to set
@param message An optional message to write to the response. This messagemay be null.
@param request The request object providing more information on therequest.
@param response The response object used to send the status and message.
@throws IOException May be thrown if an error occurrs sending theresponse.
This 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.
@param e the Throwable thrown during action processing @param properties the app properties set at startup through initializers @return a View that will be rendered insteadhandleError method.
@return If the handleError method returns true, the DOM implementation should continue as if the error didn't happen when possible, if the method returns false then the DOM implementation should stop the current processing when possible.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |