javax.el
Class PropertyNotWritableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.el.ELException
                  extended by javax.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 a ValueExpression.

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
PropertyNotWritableException()
          Creates a PropertyNotWritableException with no detail message.
PropertyNotWritableException(java.lang.String pMessage)
          Creates a PropertyNotWritableException with the provided detail message.
PropertyNotWritableException(java.lang.String pMessage, java.lang.Throwable pRootCause)
          Creates a PropertyNotWritableException with the given detail message and root cause.
PropertyNotWritableException(java.lang.Throwable exception)
          Creates a PropertyNotWritableException with the given root cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 pMessage)
Creates a PropertyNotWritableException with the provided detail message.

Parameters:
pMessage - the detail message

PropertyNotWritableException

public PropertyNotWritableException(java.lang.Throwable exception)
Creates a PropertyNotWritableException 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 a PropertyNotWritableException with the given detail message and root cause.

Parameters:
pMessage - the detail message
pRootCause - the originating cause of this exception


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34