Package jakarta.el

Class 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:
    Jakarta Server Pages 2.1
    See Also:
    Serialized Form
    • 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