站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

PropertyNotFoundException (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.el
Class PropertyNotFoundException

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

public class PropertyNotFoundException
extends ELException

Thrown when a property could not be found while evaluating a ValueExpression or MethodExpression.

For example, this could be triggered by an index out of bounds while setting an array value, or by an unreadable property while getting the value of a JavaBeans property.

Since:
JSP 2.1
See Also:
Serialized Form

Constructor Summary
PropertyNotFoundException()
          Creates a PropertyNotFoundException with no detail message.
PropertyNotFoundException(String message)
          Creates a PropertyNotFoundException with the provided detail message.
PropertyNotFoundException(String pMessage, Throwable pRootCause)
          Creates a PropertyNotFoundException with the given detail message and root cause.
PropertyNotFoundException(Throwable exception)
          Creates a PropertyNotFoundException with the given root cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyNotFoundException

public PropertyNotFoundException()
Creates a PropertyNotFoundException with no detail message.


PropertyNotFoundException

public PropertyNotFoundException(String message)
Creates a PropertyNotFoundException with the provided detail message.

Parameters:
message - the detail message

PropertyNotFoundException

public PropertyNotFoundException(Throwable exception)
Creates a PropertyNotFoundException with the given root cause.

Parameters:
exception - the originating cause of this exception

PropertyNotFoundException

public PropertyNotFoundException(String pMessage,
                                 Throwable pRootCause)
Creates a PropertyNotFoundException with the given detail message and root cause.

Parameters:
pMessage - the detail message
pRootCause - the originating cause of this exception

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.