Skip navigation links
A C E G H J R S W 

A

AbstractErrorHandlerCreationConfigurer - Class in com.bellotapps.utils.error_handler
Abstract configuration class for ErrorHandler creation.
AbstractErrorHandlerCreationConfigurer(ErrorHandlerFactory) - Constructor for class com.bellotapps.utils.error_handler.AbstractErrorHandlerCreationConfigurer
Protected constructor, in order to let it be initialized only by subclasses.
afterPropertiesSet() - Method in class com.bellotapps.utils.error_handler.AbstractErrorHandlerCreationConfigurer
 
afterPropertiesSet() - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactoryConfigurer
 
afterPropertiesSet() - Method in class com.bellotapps.utils.error_handler.ErrorHandlerImpl
 
AnnotationErrorHandlerCreationConfigurer<A extends Annotation> - Class in com.bellotapps.utils.error_handler
Abstract configuration class for ErrorHandler creation, using an Annotation to get packages to be scanned.
AnnotationErrorHandlerCreationConfigurer(ErrorHandlerFactory) - Constructor for class com.bellotapps.utils.error_handler.AnnotationErrorHandlerCreationConfigurer
Protected constructor, in order to let it be initialized only by subclasses.

C

com.bellotapps.utils.error_handler - package com.bellotapps.utils.error_handler
 
createErrorHandler(String...) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactory
Creates an ErrorHandler, scanning for ExceptionHandler in the given packages.
createErrorHandler(Collection<String>) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactory
Creates an ErrorHandler, scanning for ExceptionHandler in the given packages.

E

EnableErrorHandler - Annotation Type in com.bellotapps.utils.error_handler
Enables the error handling system.
EnableErrorHandlerFactory - Annotation Type in com.bellotapps.utils.error_handler
Enables the ErrorHandlerFactory configuration.
ErrorHandler - Interface in com.bellotapps.utils.error_handler
Defines behaviour for an object that knows how to handle any kind of Throwable.
ErrorHandlerCreationConfigurer - Class in com.bellotapps.utils.error_handler
Configuration class extended from AnnotationErrorHandlerCreationConfigurer, using EnableErrorHandler annotation.
ErrorHandlerCreationConfigurer(ErrorHandlerFactory) - Constructor for class com.bellotapps.utils.error_handler.ErrorHandlerCreationConfigurer
Constructor.
ErrorHandlerFactory - Class in com.bellotapps.utils.error_handler
Object in charge of creating an ErrorHandler.
ErrorHandlerFactory(ClassLoader, BeanFactory) - Constructor for class com.bellotapps.utils.error_handler.ErrorHandlerFactory
Constructor.
errorHandlerFactory() - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactoryConfigurer
 
ErrorHandlerFactoryConfigurer - Class in com.bellotapps.utils.error_handler
Configuration class for ErrorHandlerFactory.
ErrorHandlerFactoryConfigurer() - Constructor for class com.bellotapps.utils.error_handler.ErrorHandlerFactoryConfigurer
Constructor.
ErrorHandlerImpl - Class in com.bellotapps.utils.error_handler
Concrete implementation of ErrorHandler.
ExceptionHandler<T extends Throwable,E> - Interface in com.bellotapps.utils.error_handler
Defines behaviour for an object that can handles a given type of Throwable.
ExceptionHandlerObject - Annotation Type in com.bellotapps.utils.error_handler
Indicates that an object is an ExceptionHandler.

G

getAnnotationClass() - Method in class com.bellotapps.utils.error_handler.AnnotationErrorHandlerCreationConfigurer
 
getAnnotationClass() - Method in class com.bellotapps.utils.error_handler.ErrorHandlerCreationConfigurer
 
getErrorRepresentationEntity() - Method in class com.bellotapps.utils.error_handler.HandlingResult
 
getHttpErrorCode() - Method in class com.bellotapps.utils.error_handler.HandlingResult
 
getImportMetadata() - Method in class com.bellotapps.utils.error_handler.AbstractErrorHandlerCreationConfigurer
 
getPackagesCollection() - Method in class com.bellotapps.utils.error_handler.AbstractErrorHandlerCreationConfigurer
Returns a Collection of package names to be used by the ErrorHandlerFactory to create the ErrorHandler.
getPackagesCollection() - Method in class com.bellotapps.utils.error_handler.AnnotationErrorHandlerCreationConfigurer
 
getPackagesCollectionFromAnnotation(A) - Method in class com.bellotapps.utils.error_handler.AnnotationErrorHandlerCreationConfigurer
Retrieves a Collection of packages names from the given annotation.
getPackagesCollectionFromAnnotation(EnableErrorHandler) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerCreationConfigurer
 

H

handle(T) - Method in interface com.bellotapps.utils.error_handler.ErrorHandler
Handles the given exception, returning as a result an object with the data to be returned to the API consumer.
handle(T) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerImpl
 
handle(T) - Method in interface com.bellotapps.utils.error_handler.ExceptionHandler
Handles the given exception.
HandlingResult<E> - Class in com.bellotapps.utils.error_handler
Container class holding the results of handling a Throwable.

J

justErrorCode(int) - Static method in class com.bellotapps.utils.error_handler.HandlingResult
 

R

resetCache() - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactory
Clears the cache stored in this factory (i.e will make it perform package scanning again when asking for an error handler).
resetCache(String...) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactory
Clears the cache for the given packages.
resetCache(Collection<String>) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactory
Clears the cache for the given packages.

S

setBeanClassLoader(ClassLoader) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactoryConfigurer
 
setBeanFactory(BeanFactory) - Method in class com.bellotapps.utils.error_handler.ErrorHandlerFactoryConfigurer
 
setImportMetadata(AnnotationMetadata) - Method in class com.bellotapps.utils.error_handler.AbstractErrorHandlerCreationConfigurer
 

W

withPayload(int, T) - Static method in class com.bellotapps.utils.error_handler.HandlingResult
 
A C E G H J R S W 
Skip navigation links

Copyright © 2018. All rights reserved.