Implementations must throw this FacesException when attempting to restore the view
StateManager#restoreView(javax.faces.context.FacesContext, String, String) results in
failure on postback.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private String | viewId
The view identifier of the view that could not be restored. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ViewExpiredException(String
The view identifier for this exception viewId)Construct a new exception with the specified view identifier. |
| public | ViewExpiredException(String
The detail message for this exception message, String The view identifier for this exception viewId)Construct a new exception with the specified detail message and no root cause. |
| public | ViewExpiredException(Throwable
The root cause for this exception cause, String The view identifier for this exception viewId)Construct a new exception with the specified root cause. |
| public | ViewExpiredException(String
The detail message for this exception message, Throwable The root cause for this exception cause, String The view identifier for this exception viewId)Construct a new exception with the specified detail message and root cause. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the message.Overrides java.
Return the message for this exception prepended with the view identifier if the view
identifier is not |
| public String | Returns: the view id, ornull.
Return the view identifier of this exception, or |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| viewId | back to summary |
|---|---|
| private String viewId The view identifier of the view that could not be restored. | |
| ViewExpiredException | back to summary |
|---|---|
| public ViewExpiredException() Construct a new exception with no detail message or root cause. | |
| ViewExpiredException | back to summary |
|---|---|
| public ViewExpiredException(String viewId) Construct a new exception with the specified view identifier.
| |
| ViewExpiredException | back to summary |
|---|---|
| public ViewExpiredException(String message, String viewId) Construct a new exception with the specified detail message and no root cause. | |
| ViewExpiredException | back to summary |
|---|---|
| public ViewExpiredException(Throwable cause, String viewId)
Construct a new exception with the specified root cause. The detail message will be set to
| |
| ViewExpiredException | back to summary |
|---|---|
| public ViewExpiredException(String message, Throwable cause, String viewId) Construct a new exception with the specified detail message and root cause. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java.
Return the message for this exception prepended with the view identifier if the view
identifier is not | |
| getViewId | back to summary |
|---|---|
| public String getViewId()
Return the view identifier of this exception, or
| |