For example, this could be triggered by trying to set a map value on an unmodifiable map.
136137138139140141142143
throw new PropertyNotFoundException(message); } int index = Arrays.binarySearch(IMPLICIT_OBJECTS, property); if (index >= 0) { throw new PropertyNotWritableException((String)property); } }
56575859606162
* @see javax.el.ValueExpression#setValue(javax.el.ELContext, java.lang.Object) */ public void setValue(ELContext context, Object value) { context.setPropertyResolved(false); throw new PropertyNotWritableException(); }
136137138139140141142
return true; } public void setValue(EvaluationContext ctx, Object value) throws ELException { throw new PropertyNotWritableException(MessageFactory.get("error.syntax.set")); }
6869707172737475
final ResourceBundle bundle = getResourceBundle(context, (String)property); if (bundle != null) { throw new PropertyNotWritableException("ResourceBundles are read-only"); } }
152153154155156157158159
index = Arrays.binarySearch(IMPLICIT_OBJECTS, property); } if (index >= 0) { throw new PropertyNotWritableException((String) property); } }
382383384385386387388
return _o; } public void setValue(ELContext context, Object value) { throw new PropertyNotWritableException(); }
} @Override public void setValue(ELContext context, Object value) { throw new PropertyNotWritableException(); }
63646566676869
9899100101102103104
return null; } @Override public void setValue(ELContext context, Object base, Object property, Object value) { throw new PropertyNotWritableException(); }
5657585960616263
if (!(property instanceof String)) return; ResourceBundle bundle = getResourceBundle(context, (String)property); if (bundle != null) { throw new PropertyNotWritableException("ResourceBundles are read-only"); } }