| Package | Description |
|---|---|
| me.alidg.errors | |
| me.alidg.errors.adapter.attributes | |
| me.alidg.errors.conf | |
| me.alidg.errors.mvc |
| Modifier and Type | Method and Description |
|---|---|
WebErrorHandlers |
WebErrorHandlersBuilder.build()
Creates the
WebErrorHandlers instance from the current builder state. |
| Constructor and Description |
|---|
ReactiveErrorAttributes(WebErrorHandlers webErrorHandlers,
HttpErrorAttributesAdapter httpErrorAttributesAdapter)
Initializes the error attributes with required dependencies.
|
ServletErrorAttributes(WebErrorHandlers webErrorHandlers,
HttpErrorAttributesAdapter httpErrorAttributesAdapter)
Initializes the error attributes with required dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
WebErrorHandlers |
ErrorsAutoConfiguration.webErrorHandlers(org.springframework.context.MessageSource messageSource,
List<WebErrorHandler> customHandlers,
WebErrorHandler defaultWebErrorHandler,
ExceptionRefiner exceptionRefiner,
ExceptionLogger exceptionLogger,
List<WebErrorHandlerPostProcessor> webErrorHandlerPostProcessors,
FingerprintProvider fingerprintProvider,
ErrorsProperties errorsProperties,
org.springframework.context.ApplicationContext context)
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. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.web.servlet.error.ErrorAttributes |
ServletErrorsAutoConfiguration.errorAttributes(WebErrorHandlers webErrorHandlers,
HttpErrorAttributesAdapter httpErrorAttributesAdapter)
Registers a
ErrorAttributes implementation which would replace the default one provided
by the Spring Boot. |
org.springframework.boot.web.reactive.error.ErrorAttributes |
ReactiveErrorsAutoConfiguration.errorAttributes(WebErrorHandlers webErrorHandlers,
HttpErrorAttributesAdapter httpErrorAttributesAdapter)
A custom web error attributes responsible for converting the exceptions to a map of
attributes.
|
ErrorsControllerAdvice |
ServletErrorsAutoConfiguration.errorsControllerAdvice(WebErrorHandlers webErrorHandlers,
HttpErrorAttributesAdapter httpErrorAttributesAdapter)
Registers a
RestControllerAdvice to catch all
exceptions thrown by the web layer. |
| Constructor and Description |
|---|
ErrorsControllerAdvice(WebErrorHandlers errorHandlers,
HttpErrorAttributesAdapter httpErrorAttributesAdapter)
Initializing the rest controller advice by injecting the
WebErrorHandlers bean. |
Copyright © 2019. All rights reserved.