| Package | Description |
|---|---|
| me.alidg.errors | |
| me.alidg.errors.conf |
| Constructor and Description |
|---|
WebErrorHandlers(org.springframework.context.MessageSource messageSource,
List<WebErrorHandler> implementations,
WebErrorHandler defaultWebErrorHandler,
ExceptionRefiner exceptionRefiner)
To initialize the
WebErrorHandlers instance with a code-to-message translator, a
non-empty collection of WebErrorHandler implementations and an optional fallback
error handler. |
| Modifier and Type | Method and Description |
|---|---|
WebErrorHandlers |
ErrorsAutoConfiguration.webErrorHandlers(org.springframework.context.MessageSource messageSource,
List<WebErrorHandler> customHandlers,
WebErrorHandler defaultWebErrorHandler,
ExceptionRefiner exceptionRefiner)
Registers a bean of type
WebErrorHandlers (If not provided by the user) filled with a set of
built-in WebErrorHandlers, a set of custom WebErrorHandlers and a default fallback
WebErrorHandler. |
Copyright © 2018. All rights reserved.