Class AnnotationExceptionHandlerMethodResolver
java.lang.Object
org.springframework.messaging.handler.invocation.AbstractExceptionHandlerMethodResolver
org.springframework.messaging.handler.annotation.support.AnnotationExceptionHandlerMethodResolver
public class AnnotationExceptionHandlerMethodResolver
extends AbstractExceptionHandlerMethodResolver
A subclass of 
AbstractExceptionHandlerMethodResolver that looks for
MessageExceptionHandler-annotated methods in a given class. The actual
exception types handled are extracted either from the annotation, if present,
or from the method signature as a fallback option.- Since:
- 4.0
- Author:
- Rossen Stoyanchev, Juergen Hoeller
- 
Constructor SummaryConstructorsConstructorDescriptionAnnotationExceptionHandlerMethodResolver(Class<?> handlerType) A constructor that findsMessageExceptionHandlermethods in the given type.
- 
Method SummaryMethods inherited from class AbstractExceptionHandlerMethodResolvergetExceptionsFromMethodSignature, hasExceptionMappings, resolveMethod, resolveMethodByExceptionType
- 
Constructor Details- 
AnnotationExceptionHandlerMethodResolverA constructor that findsMessageExceptionHandlermethods in the given type.- Parameters:
- handlerType- the type to introspect
 
 
-