|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个 CLASS | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.faces.validator Class ValidatorException
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.faces.FacesException
javax.faces.validator.ValidatorException
- 所有已实现的接口:
- Serializable
public class ValidatorException
- extends FacesException
A ValidatorException is an exception
thrown by the validate() method of a
Validator to indicate that validation failed.
- 另请参见:
- Serialized Form
| 构造器摘要 | |
|---|---|
ValidatorException(FacesMessage message)
Construct a new exception with the specified message and no root cause. |
|
ValidatorException(FacesMessage message,
Throwable cause)
Construct a new exception with the specified detail message and root cause. |
|
| 方法摘要 | |
|---|---|
FacesMessage |
getFacesMessage()
Returns the FacesMessage associated with the exception. |
| 类方法继承 javax.faces.FacesException |
|---|
getCause |
| 类方法继承 java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 类方法继承 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造器详细信息 |
|---|
ValidatorException
public ValidatorException(FacesMessage message)
Construct a new exception with the specified message and no root cause.
- 参数:
message- The message for this exception
ValidatorException
public ValidatorException(FacesMessage message, Throwable cause)
Construct a new exception with the specified detail message and root cause.
- 参数:
message- The detail message for this exceptioncause- The root cause for this exception
| 方法详细信息 |
|---|
getFacesMessage
public FacesMessage getFacesMessage()
- Returns the FacesMessage associated with the exception.
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个 CLASS | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.
