From ce69855274e93b436c378e808f746f0d1cc2e538 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 2 Mar 2017 11:13:47 -0500 Subject: [PATCH] Fix failing tests --- .../web/method/annotation/ExceptionHandlerMethodResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-web/src/main/java/org/springframework/web/method/annotation/ExceptionHandlerMethodResolver.java b/spring-web/src/main/java/org/springframework/web/method/annotation/ExceptionHandlerMethodResolver.java index 84558dde7f..eac5de7090 100644 --- a/spring-web/src/main/java/org/springframework/web/method/annotation/ExceptionHandlerMethodResolver.java +++ b/spring-web/src/main/java/org/springframework/web/method/annotation/ExceptionHandlerMethodResolver.java @@ -125,7 +125,7 @@ public class ExceptionHandlerMethodResolver { * @return a Method to handle the exception, or {@code null} if none found */ public Method resolveMethod(Exception exception) { - return resolveMethod(exception); + return resolveMethodByThrowable(exception); } /**