Package javax.portlet

Class PortletException

    • Constructor Detail

      • PortletException

        public PortletException()
        Constructs a new portlet exception.
      • PortletException

        public PortletException​(String text)
        Constructs a new portlet exception with the given text. The portlet container may use the text write it to a log.
        Parameters:
        text - the exception text
      • PortletException

        public PortletException​(String text,
                                Throwable cause)
        Constructs a new portlet exception when the portlet needs to do the following:
        • throw an exception
        • include the "root cause" exception
        • include a description message
        Parameters:
        text - the exception text
        cause - the root cause
      • PortletException

        public PortletException​(Throwable cause)
        Constructs a new portlet exception when the portlet needs to throw an exception. The exception's message is based on the localized message of the underlying exception.
        Parameters:
        cause - the root cause