public static class JexlException.Variable extends JexlException
JexlException.Ambiguous, JexlException.Annotation, JexlException.Assignment, JexlException.Break, JexlException.Cancel, JexlException.Continue, JexlException.Feature, JexlException.Method, JexlException.Operator, JexlException.Parsing, JexlException.Property, JexlException.Return, JexlException.StackOverflow, JexlException.Tokenization, JexlException.TryFailed, JexlException.Variable, JexlException.VariableIssue| Constructor and Description | 
|---|
| Variable(org.apache.commons.jexl3.parser.JexlNode node,
        String var,
        boolean undef)Creates a new Variable exception instance. | 
| Variable(org.apache.commons.jexl3.parser.JexlNode node,
        String var,
        JexlException.VariableIssue vi)Creates a new Variable exception instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getVariable() | 
| boolean | isUndefined()Whether the variable causing an error is undefined or evaluated as null. | 
annotationError, clean, getDetail, getInfo, getInfo, getMessage, methodError, methodError, operatorError, propertyError, propertyError, sliceSource, tryFailed, variableError, variableErroraddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Variable(org.apache.commons.jexl3.parser.JexlNode node,
                String var,
                JexlException.VariableIssue vi)
node - the offending ASTnodevar - the unknown variablevi - the variable issuepublic Variable(org.apache.commons.jexl3.parser.JexlNode node,
                String var,
                boolean undef)
node - the offending ASTnodevar - the unknown variableundef - whether the variable is undefined or evaluated as nullpublic boolean isUndefined()
public String getVariable()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.