master
Juergen Hoeller 14 years ago
parent ba946c08dd
commit 7e5215b5d4
  1. 2
      org.springframework.web.portlet/src/main/java/org/springframework/web/portlet/mvc/annotation/AnnotationMethodHandlerAdapter.java

@ -297,7 +297,7 @@ public class AnnotationMethodHandlerAdapter extends PortletContentGenerator
public void handleEvent(EventRequest request, EventResponse response, Object handler) throws Exception { public void handleEvent(EventRequest request, EventResponse response, Object handler) throws Exception {
Object returnValue = doHandle(request, response, handler); Object returnValue = doHandle(request, response, handler);
if (returnValue != null) { if (returnValue != null) {
throw new IllegalStateException("Invalid action method return value: " + returnValue); throw new IllegalStateException("Invalid event method return value: " + returnValue);
} }
} }

Loading…
Cancel
Save