- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.el.ELException
-
- javax.el.PropertyNotWritableException
-
- All Implemented Interfaces:
- 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:
- JSP 2.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description PropertyNotWritableException()
Creates 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 Detail
-
PropertyNotWritableException
public PropertyNotWritableException()
Creates aPropertyNotWritableException
with no detail message.
-
PropertyNotWritableException
public PropertyNotWritableException(String pMessage)
Creates aPropertyNotWritableException
with the provided detail message.- Parameters:
pMessage
- the detail message
-
PropertyNotWritableException
public PropertyNotWritableException(Throwable exception)
Creates aPropertyNotWritableException
with the given root cause.- Parameters:
exception
- the originating cause of this exception
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/el/PropertyNotWritableException.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.