java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.el.ELException
jakarta.el.PropertyNotWritableException
- All Implemented Interfaces:
Serializable
Thrown when a property could not be written to while setting the value on a
ValueExpression
.
For example, this could be triggered by trying to set a map value on an unmodifiable map.
- Since:
- Jakarta Server Pages 2.1
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates aPropertyNotWritableException
with no detail message.PropertyNotWritableException
(String pMessage) Creates aPropertyNotWritableException
with the provided detail message.PropertyNotWritableException
(String pMessage, Throwable pRootCause) Creates aPropertyNotWritableException
with the given detail message and root cause.PropertyNotWritableException
(Throwable exception) Creates aPropertyNotWritableException
with the given root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyNotWritableException
public PropertyNotWritableException()Creates aPropertyNotWritableException
with no detail message. -
PropertyNotWritableException
Creates aPropertyNotWritableException
with the provided detail message.- Parameters:
pMessage
- the detail message
-
PropertyNotWritableException
Creates aPropertyNotWritableException
with the given root cause.- Parameters:
exception
- the originating cause of this exception
-
PropertyNotWritableException
Creates aPropertyNotWritableException
with the given detail message and root cause.- Parameters:
pMessage
- the detail messagepRootCause
- the originating cause of this exception
-