Uses of Class
javax.portlet.PortletException

  • Uses of PortletException in javax.portlet

    Modifier and Type
    Class
    Description
    class 
    The PortletModeException is thrown when a portlet tries to use or set a portlet mode that is not supported by the current runtime environment or the portlet.
    class 
    A portlet should throw a PortletSecurityException when a call fails because of security reasons.
    Additionally it can be thrown by the portal/portlet-container.
    class 
    The ReadOnlyException is thrown when a portlet tries to change the value for a read-only preference attribute.
    class 
    The portlet should throw the UnavailableException when the portlet is either temporarily or permanently unavailable to handle requests.
    class 
    The UnmodifiableException is thrown when a portlet tries to change the value for a preference attribute, marked as unmodifiable in the deployment descriptor with the non-modifiable tag, without the needed permissions.
    class 
    The ValidatorException is thrown by the validate method of a PreferencesValidator when the validation of a preference failed.
    class 
    The WindowStateException is thrown when a portlet tries to use a window state that is not supported by the current runtime environment or the portlet.
    Methods in javax.portlet that throw PortletException
    Modifier and Type
    Method
    Description
    protected void
    GenericPortlet.doDispatch(RenderRequest request, RenderResponse response)
    The default implementation of this method routes the render request to a set of helper methods depending on the current portlet mode the portlet is currently in.
    protected void
    GenericPortlet.doEdit(RenderRequest request, RenderResponse response)
    Helper method to serve up the edit mode.
    protected void
    GenericPortlet.doHelp(RenderRequest request, RenderResponse response)
    Helper method to serve up the help mode.
    protected void
    GenericPortlet.doView(RenderRequest request, RenderResponse response)
    Helper method to serve up the mandatory view mode.
    void
    PortletRequestDispatcher.include(RenderRequest request, RenderResponse response)
    Includes the content of a resource (servlet, JSP page, HTML file) in the response.
    void
    GenericPortlet.init()
    A convenience method which can be overridden so that there's no need to call super.init(config).
    void
    GenericPortlet.init(PortletConfig config)
    Called by the portlet container to indicate to a portlet that the portlet is being placed into service.
    void
    Portlet.init(PortletConfig config)
    Called by the portlet container to indicate to a portlet that the portlet is being placed into service.
    void
    GenericPortlet.processAction(ActionRequest request, ActionResponse response)
    Called by the portlet container to allow the portlet to process an action request.
    void
    Portlet.processAction(ActionRequest request, ActionResponse response)
    Called by the portlet container to allow the portlet to process an action request.
    void
    GenericPortlet.render(RenderRequest request, RenderResponse response)
    The default implementation of this method sets the title using the getTitle method and invokes the doDispatch method.
    void
    Portlet.render(RenderRequest request, RenderResponse response)
    Called by the portlet container to allow the portlet to generate the content of the response based on its current state.