Java org.springframework.web.servlet.handler SimpleMappingExceptionResolver fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.handler SimpleMappingExceptionResolver fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.handler SimpleMappingExceptionResolver.

The text is from its open source code.

Subclass

org.springframework.web.servlet.handler.SimpleMappingExceptionResolver has subclasses.
Click this link to see all its subclasses.

Field

StringDEFAULT_EXCEPTION_ATTRIBUTE
The default name of the exception attribute: "exception".

Constructor

Method

voidsetDefaultErrorView(String defaultErrorView)
Set the name of the default error view.
voidsetDefaultStatusCode(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.
voidsetExceptionAttribute(@Nullable String exceptionAttribute)
Set the name of the model attribute as which the exception should be exposed.
voidsetExceptionMappings(Properties mappings)
Set the mappings between exception class names and error view names.
voidsetOrder(int order)
voidsetStatusCodes(Properties statusCodes)
Set the HTTP status code that this exception resolver will apply for a given resolved error view.