@ -191,7 +191,7 @@ public abstract class AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>
@@ -191,7 +191,7 @@ public abstract class AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>
filterDecorator.initIfRequired(servletContext);
}
catch(ServletExceptionex){
thrownewRuntimeException("Failed to initialize Filter "+filter,ex);
thrownewIllegalStateException("Failed to initialize Filter "+filter,ex);
@ -404,7 +404,7 @@ public class ResponseBodyEmitterReturnValueHandler implements HandlerMethodRetur
@@ -404,7 +404,7 @@ public class ResponseBodyEmitterReturnValueHandler implements HandlerMethodRetur
throwex;
}
catch(Exceptionex){
thrownewRuntimeException("Failed to render "+modelAndView,ex);
thrownewIllegalStateException("Failed to render "+modelAndView,ex);