@ -97,7 +97,7 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExc
@@ -97,7 +97,7 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExc
logger.error("Invoking request method resulted in exception : "+handlerMethod,invocationEx);
@ -324,10 +324,8 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExc
@@ -324,10 +324,8 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExc
@ -350,7 +348,7 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExc
@@ -350,7 +348,7 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExc
@ -59,7 +63,6 @@ public class AnnotationMethodHandlerExceptionResolverTests {
@@ -59,7 +63,6 @@ public class AnnotationMethodHandlerExceptionResolverTests {
assertNotNull("No ModelAndView returned",mav);
assertEquals("Invalid view name returned","BindException",mav.getViewName());
assertEquals("Invalid status code returned",406,response.getStatus());
}
@Test(expected=IllegalStateException.class)
@ -69,6 +72,16 @@ public class AnnotationMethodHandlerExceptionResolverTests {
@@ -69,6 +72,16 @@ public class AnnotationMethodHandlerExceptionResolverTests {
@ -105,4 +118,13 @@ public class AnnotationMethodHandlerExceptionResolverTests {
@@ -105,4 +118,13 @@ public class AnnotationMethodHandlerExceptionResolverTests {