Class PropertyNotWritableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.el.ELException
jakarta.el.PropertyNotWritableException
- All Implemented Interfaces:
Serializable
Exception thrown when an EL expression attempts to write to a read-only property.
This exception is raised during setValue operations when the target property exists but cannot be modified.
- Since:
- EL 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance with no detail message or cause.PropertyNotWritableException(String message) Constructs a new instance with the specified detail message and no cause.PropertyNotWritableException(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
-
PropertyNotWritableException
public PropertyNotWritableException()Constructs a new instance with no detail message or cause. -
PropertyNotWritableException
Constructs a new instance with the specified detail message and no cause.- Parameters:
message- the detail message
-
PropertyNotWritableException
Constructs a new instance with the specified cause and no detail message.- Parameters:
cause- the underlying cause
-
PropertyNotWritableException
-