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

java.lang.Object
  extended by 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.
 
Constructor Summary
ContextAwareUtils()
           
 
Method Summary
static boolean isWrapTagExceptionsAsContextAware(javax.el.ELContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ContextAwareUtils

public ContextAwareUtils()
Method Detail

isWrapTagExceptionsAsContextAware

public static boolean isWrapTagExceptionsAsContextAware(javax.el.ELContext context)


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