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:
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 aPropertyNotWritableExceptionwith no detail message.PropertyNotWritableException(String pMessage)Creates aPropertyNotWritableExceptionwith the provided detail message.PropertyNotWritableException(String pMessage, Throwable pRootCause)Creates aPropertyNotWritableExceptionwith the given detail message and root cause.PropertyNotWritableException(Throwable exception)Creates aPropertyNotWritableExceptionwith 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 aPropertyNotWritableExceptionwith no detail message.
-
PropertyNotWritableException
public PropertyNotWritableException(String pMessage)
Creates aPropertyNotWritableExceptionwith the provided detail message.- Parameters:
pMessage- the detail message
-
PropertyNotWritableException
public PropertyNotWritableException(Throwable exception)
Creates aPropertyNotWritableExceptionwith the given root cause.- Parameters:
exception- the originating cause of this exception
-
-