public class ContextAwareUtils extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ContextAwareUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isWrapTagExceptionsAsContextAware(javax.el.ELContext context) |
@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
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.
Copyright © 2020 The Apache Software Foundation. All rights reserved.