@Controller public class BasicErrorController extends Object implements ErrorController
Controller
, rendering servlet container error codes and
messages where available. More specific errors can be handled either using Spring MVC
abstractions (e.g. @ExceptionHandler
) or by adding servlet
container
error pages
.Constructor and Description |
---|
BasicErrorController() |
public String getErrorPath()
ErrorController
getErrorPath
in interface ErrorController
public ModelAndView errorHtml(HttpServletRequest request)
Copyright © 2013. All rights reserved.