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

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

public class ContextAwareMethodNotFoundException
extends javax.el.MethodNotFoundException
implements ContextAwareExceptionWrapper

Implementation of types MethodNotFoundException, ContextAware and FacesWrapper

Author:
martinkoci
See Also:
ContextAware, Serialized Form

Constructor Summary
ContextAwareMethodNotFoundException(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

ContextAwareMethodNotFoundException

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

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

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"


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