public class AnnotationExceptionHandlerMethodResolver extends AbstractExceptionHandlerMethodResolver
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.| Constructor and Description |
|---|
AnnotationExceptionHandlerMethodResolver(java.lang.Class<?> handlerType)
A constructor that finds
MessageExceptionHandler methods in the given type. |
getExceptionsFromMethodSignature, hasExceptionMappings, resolveMethod, resolveMethodByExceptionTypepublic AnnotationExceptionHandlerMethodResolver(java.lang.Class<?> handlerType)
MessageExceptionHandler methods in the given type.handlerType - the type to introspect