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

java.lang.Object
  extended by org.apache.myfaces.view.facelets.el.DefaultContextAwareELException
All Implemented Interfaces:
FacesWrapper<Throwable>, ContextAware, ContextAwareExceptionWrapper, LocationAware

public class DefaultContextAwareELException
extends Object
implements ContextAwareExceptionWrapper

Default implementation of ContextAwareExceptionWrapper, used for delegation

Author:
martinkoci

Constructor Summary
DefaultContextAwareELException(Location location, String expressionString, String qName, Throwable wrapped)
           
 
Method Summary
 String getExpressionString()
           
 Location getLocation()
           
 String getQName()
           
 Throwable getWrapped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContextAwareELException

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

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"

getWrapped

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


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