Any exception is mapped to the {@link #setDefaultErrorView(String) view}. By default, the view's name is: error
. Custom pages for view can be registered using the {@link #map(HttpStatus,String,Class)} method.
An "error" object is added to the model. The error object contains these attributes:
Error views are analogous to error page JSPs, but can be used with any kind of exception including any checked one, with fine-granular mappings for specific handlers.
@author edgar.espina
|
|