Package jakarta.el
Class PropertyNotWritableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.el.ELException
-
- jakarta.el.PropertyNotWritableException
-
- All Implemented Interfaces:
java.io.Serializable
public class PropertyNotWritableException extends ELException
Thrown when a property could not be written to while setting the value on aValueExpression
.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyNotWritableException()
Creates aPropertyNotWritableException
with no detail message.PropertyNotWritableException(java.lang.String pMessage)
Creates aPropertyNotWritableException
with the provided detail message.PropertyNotWritableException(java.lang.String pMessage, java.lang.Throwable pRootCause)
Creates aPropertyNotWritableException
with the given detail message and root cause.PropertyNotWritableException(java.lang.Throwable exception)
Creates aPropertyNotWritableException
with the given root cause.
-
-
-
Constructor Detail
-
PropertyNotWritableException
public PropertyNotWritableException()
Creates aPropertyNotWritableException
with no detail message.
-
PropertyNotWritableException
public PropertyNotWritableException(java.lang.String pMessage)
Creates aPropertyNotWritableException
with the provided detail message.- Parameters:
pMessage
- the detail message
-
PropertyNotWritableException
public PropertyNotWritableException(java.lang.Throwable exception)
Creates aPropertyNotWritableException
with the given root cause.- Parameters:
exception
- the originating cause of this exception
-
PropertyNotWritableException
public PropertyNotWritableException(java.lang.String pMessage, java.lang.Throwable pRootCause)
Creates aPropertyNotWritableException
with the given detail message and root cause.- Parameters:
pMessage
- the detail messagepRootCause
- the originating cause of this exception
-
-