javax.portlet
public class WindowStateException extends PortletException
WindowStateException
is thrown when a portlet
tries to use a window state that is not supported by the current
runtime environment or the portlet.
Field Summary | |
---|---|
WindowState | _state |
Constructor Summary | |
---|---|
WindowStateException(String text, WindowState state)
Constructs a new portlet state exception with the given text. | |
WindowStateException(String text, Throwable cause, WindowState state)
Constructs a new portlet state exception when the portlet needs to do
the following:
| |
WindowStateException(Throwable cause, WindowState state)
Constructs a new portlet state exception when the portlet needs to throw an
exception. |
Method Summary | |
---|---|
WindowState | getState()
Returns the portlet state causing this exception.
|
Parameters: text the exception text state the state causing the exception
Parameters: text the exception text cause the root cause state the state causing the exception
Parameters: cause the root cause state the state causing the exception
Returns: the window state causing this exception