PortletSecurityException
when a call fails because of security reasons.| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | PortletSecurityException(String
the exception text text)Constructs a new security exception with the given text. |
| public | PortletSecurityException(String
the exception text text, Throwable the root cause cause)Constructs a new portlet security exception when the portlet needs to do the following:
|
| public | PortletSecurityException(Throwable
the root cause cause)Constructs a new portlet security exception when the portlet needs to throw an exception. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| PortletSecurityException | back to summary |
|---|---|
| public PortletSecurityException(String text) Constructs a new security exception with the given text. The portlet container may use the text write it to a log.
| |
| PortletSecurityException | back to summary |
|---|---|
| public PortletSecurityException(String text, Throwable cause) Constructs a new portlet security exception when the portlet needs to do the following:
| |
| PortletSecurityException | back to summary |
|---|---|
| public PortletSecurityException(Throwable cause) Constructs a new portlet security exception when the portlet needs to throw an exception. The exception message is based on the localized message of the underlying exception.
| |