Class 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 a ValueExpression. For example, this could be triggered by trying to set a map value on an unmodifiable map.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyNotWritableException()
      Creates a PropertyNotWritableException with no detail message.
      PropertyNotWritableException​(java.lang.String message)
      Creates a PropertyNotWritableException with the provided detail message.
      PropertyNotWritableException​(java.lang.String message, java.lang.Throwable cause)
      Creates a PropertyNotWritableException with the given detail message and root cause.
      PropertyNotWritableException​(java.lang.Throwable cause)
      Creates a PropertyNotWritableException 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropertyNotWritableException

        public PropertyNotWritableException()
        Creates a PropertyNotWritableException with no detail message.
      • PropertyNotWritableException

        public PropertyNotWritableException​(java.lang.String message)
        Creates a PropertyNotWritableException with the provided detail message.
        Parameters:
        message - the detail message
      • PropertyNotWritableException

        public PropertyNotWritableException​(java.lang.Throwable cause)
        Creates a PropertyNotWritableException with the given root cause.
        Parameters:
        cause - the originating cause of this exception
      • PropertyNotWritableException

        public PropertyNotWritableException​(java.lang.String message,
                                            java.lang.Throwable cause)
        Creates a PropertyNotWritableException with the given detail message and root cause.
        Parameters:
        message - the detail message
        cause - the originating cause of this exception