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, toStringpublic 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 causeCopyright © 2003-2020 GateIn. All Rights Reserved.