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 PortletWithNonPermanentUnavailibiltyInProcessActionAndRender 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 UnavailableException("Non Permanent unavailable exception", 2); 25 } 26 27 public void render(RenderRequest renderRequest, RenderResponse renderResponse) throws PortletException, IOException { 28 throw new UnavailableException("Non Permanent unavailable exception", 2); 29 } 30 31 public void destroy() { 32 } 33 34 } 35 | Popular Tags |