Class PropertyNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.el.ELException
jakarta.el.PropertyNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a property is not found during EL evaluation.
This exception is raised when an expression attempts to access a property that does not exist on the target object.
- Since:
- EL 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance with no detail message or cause.PropertyNotFoundException(String message) Constructs a new instance with the specified detail message and no cause.PropertyNotFoundException(String message, Throwable cause) Constructs a new instance with the specified detail message and cause.Constructs a new instance with the specified cause and no detail message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyNotFoundException
public PropertyNotFoundException()Constructs a new instance with no detail message or cause. -
PropertyNotFoundException
Constructs a new instance with the specified detail message and no cause.- Parameters:
message- the detail message
-
PropertyNotFoundException
Constructs a new instance with the specified cause and no detail message.- Parameters:
cause- the underlying cause
-
PropertyNotFoundException
-