org.apache.myfaces.view.facelets.el
Class ContextAwarePropertyNotWritableException

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
                      extended by org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotWritableException
All Implemented Interfaces:
Serializable, FacesWrapper<Throwable>, ContextAware, ContextAwareExceptionWrapper, LocationAware

public class ContextAwarePropertyNotWritableException
extends javax.el.PropertyNotWritableException
implements ContextAwareExceptionWrapper

Implementation of types PropertyNotWritableException, ContextAware and FacesWrapper

Author:
martinkoci
See Also:
ContextAware, Serialized Form

Constructor Summary
ContextAwarePropertyNotWritableException(Location location, String expressionString, String qName, Throwable wrapped)
           
 
Method Summary
 String getExpressionString()
           
 Location getLocation()
           
 String getQName()
           
 Throwable getWrapped()
           
 
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

ContextAwarePropertyNotWritableException

public ContextAwarePropertyNotWritableException(Location location,
                                                String expressionString,
                                                String qName,
                                                Throwable wrapped)
Method Detail

getExpressionString

public String getExpressionString()
Specified by:
getExpressionString in interface ContextAware
Returns:
expression string, for example "#{bean.actionMethod}" or "success"

getQName

public String getQName()
Specified by:
getQName in interface ContextAware
Returns:
qName of XML attribute, for example "action" or "value"

getWrapped

public Throwable getWrapped()
Specified by:
getWrapped in interface FacesWrapper<Throwable>

getLocation

public Location getLocation()
Specified by:
getLocation in interface LocationAware
Returns:
the Location instance where this object exists/is related to


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.