public class ApplicationErrorExceptionResolver extends AbstractConcreteExceptionResolver<ApplicationException>
conversionService, exceptionClass, exceptionTranslator, stackTraceIndicatorCOMPOSITE_EXCEPTION_RESOLVER| Constructor and Description |
|---|
ApplicationErrorExceptionResolver() |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
localizedMessage(org.springframework.web.context.request.RequestAttributes requestAttributes,
ExceptionTranslator.Location location,
ApplicationException throwable)
Translate exception and generates localizedMessage.
|
Optional<Integer> |
status(org.springframework.web.context.request.RequestAttributes requestAttributes,
ExceptionTranslator.Location location,
ApplicationException throwable) |
getExceptionClass, getExceptionTranslator, logError, resolve, resolve, resolve, setConversionService, setExceptionTranslator, setStackTraceIndicatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateHeaders, find, getAttribute, message, validationErrorspublic Optional<Integer> status(org.springframework.web.context.request.RequestAttributes requestAttributes, ExceptionTranslator.Location location, ApplicationException throwable)
public Optional<String> localizedMessage(org.springframework.web.context.request.RequestAttributes requestAttributes, ExceptionTranslator.Location location, ApplicationException throwable)
ConcreteExceptionResolverrequestAttributes - The current request.location - The location get data from.throwable - throwableCopyright © 2017. All rights reserved.