org.apache.myfaces.view.facelets.el
Class ContextAwareUtils
java.lang.Object
org.apache.myfaces.view.facelets.el.ContextAwareUtils
public class ContextAwareUtils
- extends Object
Field Summary |
static String |
INIT_PARAM_WRAP_TAG_EXCEPTIONS_AS_CONTEXT_AWARE
Wrap exception caused by calls to EL expressions, so information like
the location, expression string and tag name can be retrieved by
the ExceptionHandler implementation and used to output meaningful information about itself. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT_PARAM_WRAP_TAG_EXCEPTIONS_AS_CONTEXT_AWARE
@JSFWebConfigParam(since="2.0.9, 2.1.3",
defaultValue="true",
expectedValues="true, false")
public static final String INIT_PARAM_WRAP_TAG_EXCEPTIONS_AS_CONTEXT_AWARE
- Wrap exception caused by calls to EL expressions, so information like
the location, expression string and tag name can be retrieved by
the ExceptionHandler implementation and used to output meaningful information about itself.
Note in some cases this will wrap the original javax.el.ELException, so the
information will not be on the stack trace unless ExceptionHandler
retrieve checking if the exception implements ContextAware interface and calling getWrapped() method.
- See Also:
- Constant Field Values
ContextAwareUtils
public ContextAwareUtils()
isWrapTagExceptionsAsContextAware
public static boolean isWrapTagExceptionsAsContextAware(javax.el.ELContext context)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.