Class ContextAwareELException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.el.ELException
-
- org.apache.myfaces.view.facelets.el.ContextAwareELException
-
- All Implemented Interfaces:
FacesWrapper<Throwable>
,Serializable
,ContextAware
,ContextAwareExceptionWrapper
,LocationAware
public class ContextAwareELException extends jakarta.el.ELException implements ContextAwareExceptionWrapper
- Author:
- martinkoci
- See Also:
ContextAware
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextAwareELException(Location location, String expressionString, String qName, Throwable wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpressionString()
Location
getLocation()
String
getQName()
Throwable
getWrapped()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionString
in interfaceContextAware
- Returns:
- expression string, for example "#{bean.actionMethod}" or "success"
-
getQName
public String getQName()
- Specified by:
getQName
in interfaceContextAware
- Returns:
- qName of XML attribute, for example "action" or "value"
-
getWrapped
public Throwable getWrapped()
- Specified by:
getWrapped
in interfaceFacesWrapper<Throwable>
-
getLocation
public Location getLocation()
- Specified by:
getLocation
in interfaceLocationAware
- Returns:
- the
Location
instance where this object exists/is related to
-
-