WindowStateException is thrown when a portlet
tries to use a window state that is not supported by the current
runtime environment or the portlet.
| Modifier and Type | Field and Description |
|---|---|
| private transient WindowState | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | WindowStateException(String
the exception text text, WindowState the state causing the exception state)Constructs a new window state exception with the given text. |
| public | WindowStateException(String
the exception text text, Throwable the root cause cause, WindowState the state causing the exception state)Constructs a new window state exception when the portlet needs to do the following:
|
| public | WindowStateException(Throwable
the root cause cause, WindowState the state causing the exception state)Constructs a new window state exception when the portlet needs to throw an exception. |
| Modifier and Type | Method and Description |
|---|---|
| public WindowState | Returns: the window state causing this exceptionReturns the window state causing this exception. |
| _state | back to summary |
|---|---|
| private transient WindowState _state | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| WindowStateException | back to summary |
|---|---|
| public WindowStateException(String text, WindowState state) Constructs a new window state exception with the given text. The portlet container may use the text write it to a log.
| |
| WindowStateException | back to summary |
|---|---|
| public WindowStateException(String text, Throwable cause, WindowState state) Constructs a new window state exception when the portlet needs to do the following:
| |
| WindowStateException | back to summary |
|---|---|
| public WindowStateException(Throwable cause, WindowState state) Constructs a new window state exception when the portlet needs to throw an exception. The exception message is based on the localized message of the underlying exception.
| |
| getState | back to summary |
|---|---|
| public WindowState getState() Returns the window state causing this exception.
| |