|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.faces.application Class ViewExpiredException
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.faces.FacesException javax.faces.application.ViewExpiredException
- 所有已实现的接口:
- Serializable
public class ViewExpiredException
- extends FacesException
Implementations must throw this FacesException
when
attempting to restore the view StateManager.restoreView(javax.faces.context.FacesContext, String, String)
results in failure on postback.
- 从以下版本开始:
- 1.2
- 另请参见:
- Serialized Form
构造器摘要 | |
---|---|
ViewExpiredException()
Construct a new exception with no detail message or root cause. |
|
ViewExpiredException(String viewId)
Construct a new exception with the specified view identifier. |
|
ViewExpiredException(String message,
String viewId)
Construct a new exception with the specified detail message and no root cause. |
|
ViewExpiredException(String message,
Throwable cause,
String viewId)
Construct a new exception with the specified detail message and root cause. |
|
ViewExpiredException(Throwable cause,
String viewId)
Construct a new exception with the specified root cause. |
方法摘要 | |
---|---|
String |
getMessage()
Return the message for this exception prepended with the view identifier if the view identifier is not null , otherwise, return the
message. |
String |
getViewId()
Return the view identifier of this exception, or null if the
view identifier is nonexistent or unknown. |
类方法继承 javax.faces.FacesException |
---|
getCause |
类方法继承 java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造器详细信息 |
---|
ViewExpiredException
public ViewExpiredException()
Construct a new exception with no detail message or root cause.
ViewExpiredException
public ViewExpiredException(String viewId)
Construct a new exception with the specified view identifier.
- 参数:
viewId
- The view identifier for this exception
ViewExpiredException
public ViewExpiredException(String message, String viewId)
Construct a new exception with the specified detail message and no root cause.
- 参数:
message
- The detail message for this exceptionviewId
- The view identifier for this exception
ViewExpiredException
public ViewExpiredException(Throwable cause, String viewId)
Construct a new exception with the specified root cause. The detail message will be set to
(cause == null ? null : cause.toString()
- 参数:
cause
- The root cause for this exceptionviewId
- The view identifier for this exception
ViewExpiredException
public ViewExpiredException(String message, Throwable cause, String viewId)
Construct a new exception with the specified detail message and root cause.
- 参数:
message
- The detail message for this exceptioncause
- The root cause for this exceptionviewId
- The view identifier for this exception
方法详细信息 |
---|
getViewId
public String getViewId()
Return the view identifier of this exception, or
null
if the view identifier is nonexistent or unknown.
getMessage
public String getMessage()
Return the message for this exception prepended with the view identifier if the view identifier is not
null
, otherwise, return the message.- 重写:
getMessage
in classThrowable
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.