All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Portal |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sas.portal.portlet
Interface ErrorHandlerInterface

    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
`java.lang.String` | `service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PortletContext context, java.lang.Exception thrownException)` Runs when the error condition is raised.

Method Detail

### service

    java.lang.String service(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             PortletContext context,
                             java.lang.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

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Portal |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SAS Institute Inc. All Rights Reserved.