***  This class is subject to change   ***

com.sas.portal.portlet
Interface ErrorHandlerInterface

All Known Implementing Classes:

public interface ErrorHandlerInterface

Handler that is invoked in case of an error being detected in the portlet. It logs the exception and returns some page, such as ErrorPage.jsp, for the portlet to display.

Since:
09/02/2002

Method Summary
 String service(HttpServletRequest request, HttpServletResponse response, PortletContext context, Exception thrownException)
          Runs when the error condition is raised.
 

Method Detail

service

public String service(HttpServletRequest request,
                      HttpServletResponse response,
                      PortletContext context,
                      Exception thrownException)
Runs when the error condition is raised. Returns the URL for the portlet controller to call. This is the name of the error page JSP
Parameters:
request - httpServletRequest involved
response - httpServletResponse involved
context - PortletContext
thrownException - the exception thrown by a portlet action
Returns:
String URL of the error page JSP

***  This class is subject to change   ***




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:05:12