1 package org.exoplatform.services.portletcontainer.test.portlet; 2 3 import javax.portlet.*; 4 import java.io.IOException ; 5 6 10 11 18 public class PortletWithRuntimeExceptionWhileProcessActionAndRender implements Portlet{ 19 20 public void init(PortletConfig portletConfig) throws PortletException { 21 } 22 23 public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException, IOException { 24 throw new RuntimeException ("runtime exception in processAction"); 25 } 26 27 public void render(RenderRequest renderRequest, RenderResponse renderResponse) throws PortletException, IOException { 28 throw new RuntimeException ("runtime exception in render"); 29 } 30 31 public void destroy() { 32 throw new RuntimeException ("runtime exception in destroy"); 33 } 34 35 } 36 37 | Popular Tags |