PropertyNotFoundException (Java EE 5)

Java EE API


javax.faces.el Class PropertyNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.faces.FacesException
                  extended by javax.faces.el.EvaluationException
                      extended by javax.faces.el.PropertyNotFoundException
All Implemented Interfaces:
Serializable

Deprecated. This has been replaced by PropertyNotFoundException.

Extends: Throwable > Exception > RuntimeException > FacesException > EvaluationException

根据 base 对象无法解析的属性名称导致的异常。

英文文档:

public class PropertyNotFoundException
extends EvaluationException

An exception caused by a property name that cannot be resolved against a base object.

See Also:
Serialized Form

Constructor Summary
 
Method Summary
 
Methods inherited from class javax.faces.FacesException
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public PropertyNotFoundException()

构造不带详细消息或根本原因的新异常。

英文文档:

PropertyNotFoundException

public PropertyNotFoundException()
Deprecated. 

Construct a new exception with no detail message or root cause.


public PropertyNotFoundException(String message)

构造带指定详细消息但不带根本原因的新异常。

message 此异常的详细消息
英文文档:

PropertyNotFoundException

public PropertyNotFoundException(String message)
Deprecated. 

Construct a new exception with the specified detail message and no root cause.

Parameters:
message - The detail message for this exception


public PropertyNotFoundException(Throwable cause)

构造带指定根本原因的新异常。详细消息将被设置为 (cause == null ? null :cause.toString()

cause 此异常的根本原因

英文文档:

PropertyNotFoundException

public PropertyNotFoundException(Throwable cause)
Deprecated. 

Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()

Parameters:
cause - The root cause for this exception


public PropertyNotFoundException(String message, Throwable cause)

构造带指定详细消息和根本原因的新异常。

message 此异常的详细消息
cause 此异常的根本原因
英文文档:

PropertyNotFoundException

public PropertyNotFoundException(String message,
                                 Throwable cause)
Deprecated. 

Construct a new exception with the specified detail message and root cause.

Parameters:
message - The detail message for this exception
cause - The root cause for this exception



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!