Example usage for Java org.springframework.web.servlet.handler SimpleMappingExceptionResolver fields, constructors, methods, implement or subclass
The text is from its open source code.
String | DEFAULT_EXCEPTION_ATTRIBUTE The default name of the exception attribute: "exception". |
void | setDefaultErrorView(String defaultErrorView) Set the name of the default error view. |
void | setDefaultStatusCode(int defaultStatusCode) Set the default HTTP status code that this exception resolver will apply if it resolves an error view and if there is no status code mapping defined. |
void | setExceptionAttribute(@Nullable String exceptionAttribute) Set the name of the model attribute as which the exception should be exposed. |
void | setExceptionMappings(Properties mappings) Set the mappings between exception class names and error view names. |
void | setOrder(int order) |
void | setStatusCodes(Properties statusCodes) Set the HTTP status code that this exception resolver will apply for a given resolved error view. |