public class PortletException
extends java.lang.Exception
PortletException
class defines a general exception
that a portlet can throw when it is unable to perform its operation
successfully.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
PortletException()
Constructs a new portlet exception.
|
PortletException(java.lang.String text)
Constructs a new portlet exception with the given text.
|
PortletException(java.lang.String text,
java.lang.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(java.lang.Throwable cause)
Constructs a new portlet exception when the portlet needs to throw an
exception.
|
private static final long serialVersionUID
public PortletException()
public PortletException(java.lang.String text)
text
- the exception textpublic PortletException(java.lang.String text, java.lang.Throwable cause)
text
- the exception textcause
- the root causepublic PortletException(java.lang.Throwable cause)
cause
- the root cause