Skip navigation links
A B C D E F G H I L M N P R S T U V W 

A

ACCESS_DENIED - Static variable in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
When the client is not authorized to access a protected resource.
accessDeniedHandler(ErrorWebExceptionHandler) - Method in class me.alidg.errors.conf.ReactiveSecurityErrorsAutoConfiguration
Responsible for catching all access denied exceptions and delegating them to typical web error handlers to perform the actual exception handling procedures.
accessDeniedHandler() - Method in class me.alidg.errors.conf.ServletSecurityErrorsAutoConfiguration
Registers a handler to handle to access denied exceptions.
ACCOUNT_EXPIRED - Static variable in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
When the user account is expired.
adapt(HttpError) - Method in class me.alidg.errors.adapter.DefaultHttpErrorAttributesAdapter
Converts the given HttpError to a Map.
adapt(HttpError) - Method in interface me.alidg.errors.adapter.HttpErrorAttributesAdapter
Converts the given HttpError instance to a Map.
AnnotatedWebErrorHandler - Class in me.alidg.errors.handlers
WebErrorHandler implementation responsible for handling exceptions annotated with the ExceptionMapping annotation.
AnnotatedWebErrorHandler() - Constructor for class me.alidg.errors.handlers.AnnotatedWebErrorHandler
 
arg(String, Object) - Static method in class me.alidg.errors.Argument
Creates an Argument instance based on the given name-value pair.
Argument - Class in me.alidg.errors
Represents a single named exception argument.
AUTH_REQUIRED - Static variable in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
When someone tried to access a protected resource without proper authorization.
authenticationEntryPoint(ErrorWebExceptionHandler) - Method in class me.alidg.errors.conf.ReactiveSecurityErrorsAutoConfiguration
Responsible for catching all authentication exceptions and delegating them to typical web error handlers to perform the actual exception handling procedures.
authenticationEntryPoint() - Method in class me.alidg.errors.conf.ServletSecurityErrorsAutoConfiguration
Registers a handler to handle all authentication exceptions.
AutoConfigureErrors - Annotation Type in me.alidg.errors.annotation
Auto-configuration imports to enable web error handlers support for Spring MVC and Web Flux tests.

B

BAD_CREDENTIALS - Static variable in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
When the given user credentials where wrong.
BINDING_FAILURE - Static variable in class me.alidg.errors.handlers.SpringValidationWebErrorHandler
Basic error code for unknown binding errors.
build() - Method in class me.alidg.errors.WebErrorHandlersBuilder
Creates the WebErrorHandlers instance from the current builder state.
builder(MessageSource) - Static method in class me.alidg.errors.WebErrorHandlers
A nexus to the WebErrorHandlersBuilder API.

C

canHandle(Throwable) - Method in class me.alidg.errors.handlers.AnnotatedWebErrorHandler
Only can handle non-null exceptions annotated with ExceptionMapping annotation.
canHandle(Throwable) - Method in class me.alidg.errors.handlers.ConstraintViolationWebErrorHandler
Only can handle ConstraintViolationExceptions that contains at least one ConstraintViolation.
canHandle(Throwable) - Method in enum me.alidg.errors.handlers.LastResortWebErrorHandler
Since this is the last resort error handler, this value would simply be ignored.
canHandle(Throwable) - Method in class me.alidg.errors.handlers.MissingRequestParametersWebErrorHandler
Only can handle exceptions about missing required headers, cookies or matrix variables.
canHandle(Throwable) - Method in class me.alidg.errors.handlers.ResponseStatusWebErrorHandler
Only can handle exceptions of type ResponseStatusException.
canHandle(Throwable) - Method in class me.alidg.errors.handlers.ServletWebErrorHandler
Only handles ServletExceptions and HttpMessageNotReadableExceptions.
canHandle(Throwable) - Method in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
Can only handle AccessDeniedException or AuthenticationExceptions.
canHandle(Throwable) - Method in class me.alidg.errors.handlers.SpringValidationWebErrorHandler
Can only handle supported exceptions mentioned above.
canHandle(Throwable) - Method in class me.alidg.errors.handlers.TypeMismatchWebErrorHandler
Only can handle exceptions of type TypeMismatchException.
canHandle(Throwable) - Method in interface me.alidg.errors.WebErrorHandler
Determines whether this particular implementation can handle the given exception or not.
CodedMessage(String, String, List<Argument>) - Constructor for class me.alidg.errors.HttpError.CodedMessage
Constructs a code-message pair along with possible arguments.
ConstraintViolationWebErrorHandler - Class in me.alidg.errors.handlers
A WebErrorHandler implementation responsible for handling ConstraintViolationExceptions from bean validation.
ConstraintViolationWebErrorHandler() - Constructor for class me.alidg.errors.handlers.ConstraintViolationWebErrorHandler
 

D

DefaultHttpErrorAttributesAdapter - Class in me.alidg.errors.adapter
Default implementation of HttpErrorAttributesAdapter which converts the given HttpError to a Map like following:
DefaultHttpErrorAttributesAdapter(ErrorsProperties) - Constructor for class me.alidg.errors.adapter.DefaultHttpErrorAttributesAdapter
Constructs an instance of DefaultHttpErrorAttributesAdapter given the configuration properties.

E

equals(Object) - Method in class me.alidg.errors.Argument
Two arguments are equal iff they share the same name and value.
equals(Object) - Method in class me.alidg.errors.HttpError.CodedMessage
 
errorAttributes(WebErrorHandlers, HttpErrorAttributesAdapter) - Method in class me.alidg.errors.conf.ReactiveErrorsAutoConfiguration
A custom web error attributes responsible for converting the exceptions to a map of attributes.
errorAttributes(WebErrorHandlers, HttpErrorAttributesAdapter) - Method in class me.alidg.errors.conf.ServletErrorsAutoConfiguration
Registers a ErrorAttributes implementation which would replace the default one provided by the Spring Boot.
ErrorsAutoConfiguration - Class in me.alidg.errors.conf
Auto-configuration responsible for registering a WebErrorHandlers filled with builtin, custom and default fallback WebErrorHandlers.
ErrorsAutoConfiguration() - Constructor for class me.alidg.errors.conf.ErrorsAutoConfiguration
 
errorsControllerAdvice(WebErrorHandlers, HttpErrorAttributesAdapter) - Method in class me.alidg.errors.conf.ServletErrorsAutoConfiguration
Registers a RestControllerAdvice to catch all exceptions thrown by the web layer.
ErrorsControllerAdvice - Class in me.alidg.errors.mvc
Tries its best to catch and handle all exceptions thrown inside the Web layer using WebErrorHandlers assistance.
ErrorsControllerAdvice(WebErrorHandlers, HttpErrorAttributesAdapter) - Constructor for class me.alidg.errors.mvc.ErrorsControllerAdvice
Initializing the rest controller advice by injecting the WebErrorHandlers bean.
ErrorsProperties - Class in me.alidg.errors.conf
Configuration properties to configure the error handling mechanism.
ErrorsProperties() - Constructor for class me.alidg.errors.conf.ErrorsProperties
 
ErrorsProperties.ArgumentExposure - Enum in me.alidg.errors.conf
Determines how we're gonna expose the arguments parameter for each error code.
exceptionLogger() - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
Registers an empty ExceptionLogger in the absence of a custom logger.
ExceptionLogger - Interface in me.alidg.errors
Defines a contract to log the to-be-handled exceptions, that's it!
ExceptionLogger.NoOp - Enum in me.alidg.errors
A NoOp implementation for ExceptionLoggers.
ExceptionMapping - Annotation Type in me.alidg.errors.annotation
When an exception annotated with this annotation happens, the metadata encapsulated in the annotation would help us to transform the language level exception to REST API error code/status code combination.
exceptionRefiner() - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
Registers an empty ExceptionRefiner in the absence of a custom refiner.
ExceptionRefiner - Interface in me.alidg.errors
Defines a contract to refine exceptions.
ExceptionRefiner.NoOp - Enum in me.alidg.errors
A NoOp implementation for the ExceptionRefiner.
expose(Map<String, Object>, List<Argument>) - Method in enum me.alidg.errors.conf.ErrorsProperties.ArgumentExposure
Exposes the given arguments into the given error representation
ExposeAsArg - Annotation Type in me.alidg.errors.annotation
Annotate fields/methods inside an exception with this annotation to expose its value or return value for message interpolation.

F

fingerprintProvider() - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
Registers a very simple UUID based FingerprintProvider in the absence of a custom provider.
FingerprintProvider - Interface in me.alidg.errors
Provides a fingerprint for given HttpError.

G

generate(HttpError) - Method in class me.alidg.errors.fingerprint.Md5FingerprintProvider
Generates a fingerprint based on the exception and the current timestamp.
generate(HttpError) - Method in class me.alidg.errors.fingerprint.UuidFingerprintProvider
Generates a random UUID regardless of the given input.
generate(HttpError) - Method in interface me.alidg.errors.FingerprintProvider
Generates a hopefully unique fingerprint from the given httpError.
getArguments() - Method in class me.alidg.errors.HandledException
 
getArguments() - Method in class me.alidg.errors.HttpError.CodedMessage
 
getCode() - Method in class me.alidg.errors.HttpError.CodedMessage
 
getErrorAttributes(ServerRequest, boolean) - Method in class me.alidg.errors.adapter.attributes.ReactiveErrorAttributes
Handles the exception by delegating it to the ReactiveErrorAttributes.webErrorHandlers and then adapting the representation.
getErrorAttributes(WebRequest, boolean) - Method in class me.alidg.errors.adapter.attributes.ServletErrorAttributes
Extracts the thrown exception from the request attributes.
getErrorCodes() - Method in class me.alidg.errors.HandledException
 
getErrors() - Method in class me.alidg.errors.HttpError
 
getExposeArguments() - Method in class me.alidg.errors.conf.ErrorsProperties
 
getFingerprint() - Method in class me.alidg.errors.HttpError
 
getHttpStatus() - Method in class me.alidg.errors.HttpError
 
getMessage() - Method in class me.alidg.errors.HttpError.CodedMessage
 
getName() - Method in class me.alidg.errors.Argument
 
getOriginalException() - Method in class me.alidg.errors.HttpError
 
getRefinedException() - Method in class me.alidg.errors.HttpError
 
getRequest() - Method in class me.alidg.errors.HttpError
Returns the current and probably failed HTTP request.
getStatusCode() - Method in class me.alidg.errors.HandledException
 
getValue() - Method in class me.alidg.errors.Argument
 

H

handle(Throwable) - Method in class me.alidg.errors.handlers.AnnotatedWebErrorHandler
Handles the thrown exception annotated with ExceptionMapping by using the ExceptionMapping.errorCode() as the error code, the ExceptionMapping.statusCode() as the HTTP status code and also, exposing exception members annotated with ExposeAsArg.
handle(Throwable) - Method in class me.alidg.errors.handlers.ConstraintViolationWebErrorHandler
Handles the given ConstraintViolationExceptions by extracting the error codes from the message templates and also, extracting the arguments from ConstraintDescriptors.
handle(Throwable) - Method in enum me.alidg.errors.handlers.LastResortWebErrorHandler
Always return 500 Internal Error with unknown_error as the error code with no arguments.
handle(Throwable) - Method in class me.alidg.errors.handlers.MissingRequestParametersWebErrorHandler
Handles the given exception by selecting the appropriate error code, status code and to-be-exposed arguments conditionally.
handle(Throwable) - Method in class me.alidg.errors.handlers.ResponseStatusWebErrorHandler
Handle each subtype of ResponseStatusException class in its own unique and appropriate way.
handle(Throwable) - Method in class me.alidg.errors.handlers.ServletWebErrorHandler
Bunch of if-else-es to return an appropriate HandledException based on the nature of the given exception.
handle(Throwable) - Method in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
Bunch of if-else-es to handle Spring Security specific exceptions.
handle(Throwable) - Method in class me.alidg.errors.handlers.SpringValidationWebErrorHandler
After extracting the BindingResult from the exception, would iterate over all errors and pack all validation errors with their corresponding to be exposed arguments.
handle(Throwable) - Method in class me.alidg.errors.handlers.TypeMismatchWebErrorHandler
Cast the given exception to TypeMismatchException and return a handled exception instance by extracting the error code and exposing appropriate arguments.
handle(Throwable) - Method in interface me.alidg.errors.WebErrorHandler
Handles the given exception and returns an instance of HandledException.
handle(Throwable, Object, Locale) - Method in class me.alidg.errors.WebErrorHandlers
Given any exception, first it would select an appropriate exception handler or falls back to a default handler and then tries to handle the exception using the chosen handler.
HandledException - Class in me.alidg.errors
Encapsulates details about a handled exception, including: The mapped business level error codes The corresponding HTTP status code A collection of arguments that can be used for message translation
HandledException(Set<String>, HttpStatus, Map<String, List<Argument>>) - Constructor for class me.alidg.errors.HandledException
Initialize a handled exception with a set of error codes, a HTTP status code and an optional collection of arguments.
HandledException(String, HttpStatus, Map<String, List<Argument>>) - Constructor for class me.alidg.errors.HandledException
Initialize a handled exception with an error code, a HTTP status code and an optional collection of arguments.
handleException(Throwable, WebRequest, Locale) - Method in class me.alidg.errors.mvc.ErrorsControllerAdvice
Catches any exception and converts it to a HTTP response with appropriate status code and error code-message combinations.
hashCode() - Method in class me.alidg.errors.Argument
 
hashCode() - Method in class me.alidg.errors.HttpError.CodedMessage
 
HttpError - Class in me.alidg.errors
Represents the error details that should be serialized inside a HTTP response body.
HttpError(List<HttpError.CodedMessage>, HttpStatus) - Constructor for class me.alidg.errors.HttpError
Constructing a HTTP error instance.
HttpError.CodedMessage - Class in me.alidg.errors
Represents an error code paired with its appropriate error message and exception arguments.
HttpErrorAttributesAdapter - Interface in me.alidg.errors.adapter
Responsible for adapting the HttpError to a Map which is compatible with the ErrorAttributes interface.
httpErrorAttributesAdapter(ErrorsProperties) - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
In the absence of a bean of type HttpErrorAttributesAdapter, registers the default implementation of HttpErrorAttributesAdapter as a bean, to adapt our HttpError to Spring's ErrorAttributes abstraction.

I

INTERNAL_ERROR - Static variable in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
When something unexpected happened during security checks.
interpolate(String, List<Argument>, Locale) - Method in class me.alidg.errors.message.TemplateAwareMessageSource
Interpolates message templates resolved from TemplateAwareMessageSource.messageSource.
INVALID_OR_MISSING_BODY - Static variable in class me.alidg.errors.handlers.ServletWebErrorHandler
When we couldn't process the request body.
isAddFingerprint() - Method in class me.alidg.errors.conf.ErrorsProperties
 

L

LastResortWebErrorHandler - Enum in me.alidg.errors.handlers
The default fallback WebErrorHandler which will be used when all other registered handlers refuse to handle a particular exception.
log(Throwable) - Method in interface me.alidg.errors.ExceptionLogger
Actually logs the exception.
log(Throwable) - Method in enum me.alidg.errors.ExceptionLogger.NoOp
Does nothing special!

M

Md5FingerprintProvider - Class in me.alidg.errors.fingerprint
A MD5 based implementation of FingerprintProvider which generates a fingerprint from the handled exception using the following formula:
Md5FingerprintProvider() - Constructor for class me.alidg.errors.fingerprint.Md5FingerprintProvider
 
me.alidg.errors - package me.alidg.errors
 
me.alidg.errors.adapter - package me.alidg.errors.adapter
 
me.alidg.errors.adapter.attributes - package me.alidg.errors.adapter.attributes
 
me.alidg.errors.annotation - package me.alidg.errors.annotation
 
me.alidg.errors.conf - package me.alidg.errors.conf
 
me.alidg.errors.fingerprint - package me.alidg.errors.fingerprint
 
me.alidg.errors.handlers - package me.alidg.errors.handlers
 
me.alidg.errors.message - package me.alidg.errors.message
 
me.alidg.errors.mvc - package me.alidg.errors.mvc
 
METHOD_NOT_ALLOWED - Static variable in class me.alidg.errors.handlers.ServletWebErrorHandler
The HTTP method not supported on the resource.
MISSING_COOKIE - Static variable in class me.alidg.errors.handlers.MissingRequestParametersWebErrorHandler
A required cookie is missing from the request.
MISSING_HEADER - Static variable in class me.alidg.errors.handlers.MissingRequestParametersWebErrorHandler
A required header is missing from the request.
MISSING_MATRIX_VARIABLE - Static variable in class me.alidg.errors.handlers.MissingRequestParametersWebErrorHandler
A required matrix variable is missing from the request.
MISSING_PARAMETER - Static variable in class me.alidg.errors.handlers.ServletWebErrorHandler
When a required request parameter is missing.
MISSING_PART - Static variable in class me.alidg.errors.handlers.ServletWebErrorHandler
When a required request part is missing.
missingRequestParametersWebErrorHandler() - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
Registers a WebErrorHandler to handle new Servlet exceptions defined in Spring Framework 5.1.
MissingRequestParametersWebErrorHandler - Class in me.alidg.errors.handlers
Spring Framework 5.1 added a few specific MVC exceptions for missing header, cookie, matrix variables to allow for differentiated exception handling and status codes.
MissingRequestParametersWebErrorHandler() - Constructor for class me.alidg.errors.handlers.MissingRequestParametersWebErrorHandler
 

N

NO_HANDLER - Static variable in class me.alidg.errors.handlers.ServletWebErrorHandler
When we couldn't find any controller to handle the request.
NOT_ACCEPTABLE - Static variable in class me.alidg.errors.handlers.ServletWebErrorHandler
When the Accept header is invalid.
NOT_SUPPORTED - Static variable in class me.alidg.errors.handlers.ServletWebErrorHandler
When the Content-Type header is not supported.

P

process(HttpError) - Method in interface me.alidg.errors.WebErrorHandlerPostProcessor
The logic to execute when we finished to handle the exception and just before returning the result.

R

ReactiveErrorAttributes - Class in me.alidg.errors.adapter.attributes
Custom implementation of ErrorAttributes which adapts the handled HttpError to a Spring Boot's compatible error attributes representation.
ReactiveErrorAttributes(WebErrorHandlers, HttpErrorAttributesAdapter) - Constructor for class me.alidg.errors.adapter.attributes.ReactiveErrorAttributes
Initializes the error attributes with required dependencies.
ReactiveErrorsAutoConfiguration - Class in me.alidg.errors.conf
Encapsulates the reactive parts of the errors auto configurations.
ReactiveErrorsAutoConfiguration() - Constructor for class me.alidg.errors.conf.ReactiveErrorsAutoConfiguration
 
ReactiveSecurityErrorsAutoConfiguration - Class in me.alidg.errors.conf
A reactive specific auto-configuration to register an ServerAccessDeniedHandler and another ServerAuthenticationEntryPoint when the Reactive Spring Security is detected.
ReactiveSecurityErrorsAutoConfiguration() - Constructor for class me.alidg.errors.conf.ReactiveSecurityErrorsAutoConfiguration
 
refine(Throwable) - Method in enum me.alidg.errors.ExceptionRefiner.NoOp
Does nothing special.
refine(Throwable) - Method in interface me.alidg.errors.ExceptionRefiner
Performs the actual mechanics of exception transformation.
responseStatusWebErrorHandler() - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
Registers a handler expert at handling all possible ResponseStatusExceptions.
ResponseStatusWebErrorHandler - Class in me.alidg.errors.handlers
WebErrorHandler implementation expert at handling exceptions of type ResponseStatusException.
ResponseStatusWebErrorHandler() - Constructor for class me.alidg.errors.handlers.ResponseStatusWebErrorHandler
 

S

ServletErrorAttributes - Class in me.alidg.errors.adapter.attributes
Custom implementation of ErrorAttributes which adapts the handled HttpError to a Spring Boot's compatible error attributes representation.
ServletErrorAttributes(WebErrorHandlers, HttpErrorAttributesAdapter) - Constructor for class me.alidg.errors.adapter.attributes.ServletErrorAttributes
Initializes the error attributes with required dependencies.
ServletErrorsAutoConfiguration - Class in me.alidg.errors.conf
Encapsulates servlet-specific parts of errors auto-configuration.
ServletErrorsAutoConfiguration() - Constructor for class me.alidg.errors.conf.ServletErrorsAutoConfiguration
 
ServletSecurityErrorsAutoConfiguration - Class in me.alidg.errors.conf
A servlet specific auto-configuration to register an AccessDeniedHandler and another AuthenticationEntryPoint when the traditional Spring Security is detected.
ServletSecurityErrorsAutoConfiguration() - Constructor for class me.alidg.errors.conf.ServletSecurityErrorsAutoConfiguration
 
ServletWebErrorHandler - Class in me.alidg.errors.handlers
A WebErrorHandler implementation responsible for handling common Spring MVC specific exceptions.
ServletWebErrorHandler() - Constructor for class me.alidg.errors.handlers.ServletWebErrorHandler
 
setAddFingerprint(boolean) - Method in class me.alidg.errors.conf.ErrorsProperties
 
setExposeArguments(ErrorsProperties.ArgumentExposure) - Method in class me.alidg.errors.conf.ErrorsProperties
 
setFingerprint(String) - Method in class me.alidg.errors.HttpError
 
setOriginalException(Throwable) - Method in class me.alidg.errors.HttpError
 
setRefinedException(Throwable) - Method in class me.alidg.errors.HttpError
 
setRequest(Object) - Method in class me.alidg.errors.HttpError
 
springSecurityWebErrorHandler() - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
Registers a WebErrorHandler bean to handle Spring Security specific exceptions when Spring Security's jar file is present on the classpath.
SpringSecurityWebErrorHandler - Class in me.alidg.errors.handlers
A WebErrorHandler implementation responsible for handling Spring Security related exceptions.
SpringSecurityWebErrorHandler() - Constructor for class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
 
SpringValidationWebErrorHandler - Class in me.alidg.errors.handlers
A WebErrorHandler responsible for handling validation errors thrown by the web layer.
SpringValidationWebErrorHandler() - Constructor for class me.alidg.errors.handlers.SpringValidationWebErrorHandler
 

T

TemplateAwareMessageSource - Class in me.alidg.errors.message
A simple wrapper for MessageSource capable of resolving templated expressions.
TemplateAwareMessageSource(MessageSource) - Constructor for class me.alidg.errors.message.TemplateAwareMessageSource
Construct an instance of TemplateAwareMessageSource with the given messageSource to resolve messages.
toString() - Method in class me.alidg.errors.Argument
 
toString() - Method in class me.alidg.errors.HttpError.CodedMessage
 
toString() - Method in class me.alidg.errors.HttpError
 
TYPE_MISMATCH - Static variable in class me.alidg.errors.handlers.TypeMismatchWebErrorHandler
Basic error code for all type mismatches.
TypeMismatchWebErrorHandler - Class in me.alidg.errors.handlers
A WebErrorHandler implementation responsible for handling TypeMismatchExceptions.
TypeMismatchWebErrorHandler() - Constructor for class me.alidg.errors.handlers.TypeMismatchWebErrorHandler
 

U

UNKNOWN_ERROR_CODE - Static variable in enum me.alidg.errors.handlers.LastResortWebErrorHandler
This error handler simply returns an error code representing an unknown error.
USER_DISABLED - Static variable in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
When the user is disabled.
USER_LOCKED - Static variable in class me.alidg.errors.handlers.SpringSecurityWebErrorHandler
When the user is locked.
UuidFingerprintProvider - Class in me.alidg.errors.fingerprint
Generates a random and unique UUID for HTTP errors.
UuidFingerprintProvider() - Constructor for class me.alidg.errors.fingerprint.UuidFingerprintProvider
 

V

valueOf(String) - Static method in enum me.alidg.errors.conf.ErrorsProperties.ArgumentExposure
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.alidg.errors.ExceptionLogger.NoOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.alidg.errors.ExceptionRefiner.NoOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.alidg.errors.handlers.LastResortWebErrorHandler
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.alidg.errors.conf.ErrorsProperties.ArgumentExposure
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.alidg.errors.ExceptionLogger.NoOp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.alidg.errors.ExceptionRefiner.NoOp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.alidg.errors.handlers.LastResortWebErrorHandler
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebErrorHandler - Interface in me.alidg.errors
Defines a contract to handle exceptions in the Web layer and convert them to appropriate error codes with meaningful status codes.
WebErrorHandlerPostProcessor - Interface in me.alidg.errors
Post processor/action executor for HttpErrors.
webErrorHandlers(MessageSource, List<WebErrorHandler>, WebErrorHandler, ExceptionRefiner, ExceptionLogger, List<WebErrorHandlerPostProcessor>, FingerprintProvider, ErrorsProperties, ApplicationContext) - Method in class me.alidg.errors.conf.ErrorsAutoConfiguration
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.
WebErrorHandlers - Class in me.alidg.errors
A factory over WebErrorHandler implementations.
WebErrorHandlers(MessageSource, List<WebErrorHandler>, WebErrorHandler, ExceptionRefiner, ExceptionLogger) - Constructor for class me.alidg.errors.WebErrorHandlers
Deprecated.
WebErrorHandlersBuilder - Class in me.alidg.errors
A fluent builder responsible for creating WebErrorHandlers instances.
withDefaultWebErrorHandler(WebErrorHandler) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Represents the default web error handler we're gonna use when all other handlers refuse to handle an exception.
withErrorHandlers(Collection<WebErrorHandler>) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Collection of error handlers to consult when facing a new exception.
withErrorHandlers(WebErrorHandler...) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Collection of error handlers to consult when facing a new exception.
withErrorsProperties(ErrorsProperties) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Determines the way we're gonna configure the error handling mechanism.
withExceptionLogger(ExceptionLogger) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Defines a way to logs exceptions before handling them.
withExceptionRefiner(ExceptionRefiner) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Enables us to refine exceptions before kicking off the exception handling procedure.
withFingerprintProvider(FingerprintProvider) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Responsible for calculating error fingerprints for handled exceptions.
withPostProcessors(Collection<WebErrorHandlerPostProcessor>) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Collection of post processors to call after handling any given exception.
withPostProcessors(WebErrorHandlerPostProcessor...) - Method in class me.alidg.errors.WebErrorHandlersBuilder
Collection of post processors to call after handling any given exception.
A B C D E F G H I L M N P R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.