public class PortletException extends Exception
PortletException
class defines a general exception
that a portlet can throw when it is unable to perform its operation
successfully.Constructor and Description |
---|
PortletException()
Constructs a new portlet exception.
|
PortletException(String text)
Constructs a new portlet exception with the given text.
|
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
|
PortletException(Throwable cause)
Constructs a new portlet exception when the portlet needs to throw an
exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PortletException()
public PortletException(String text)
text
- the exception textpublic PortletException(String text, Throwable cause)
text
- the exception textcause
- the root causepublic PortletException(Throwable cause)
cause
- the root causeJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.