public static class JexlException.Property 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 |
---|
Property(org.apache.commons.jexl3.parser.JexlNode node,
String pty)
Deprecated.
3.2
|
Property(org.apache.commons.jexl3.parser.JexlNode node,
String pty,
boolean undef,
Throwable cause)
Creates a new Property exception instance.
|
Property(org.apache.commons.jexl3.parser.JexlNode node,
String pty,
Throwable cause)
Deprecated.
3.2
|
Modifier and Type | Method and Description |
---|---|
protected String |
detailedMessage()
Accesses detailed message.
|
String |
getProperty() |
boolean |
isUndefined()
Whether the variable causing an error is undefined or evaluated as null.
|
annotationError, clean, getDetail, getInfo, getInfo, getMessage, info, methodError, methodError, operatorError, parserError, propertyError, propertyError, sliceSource, tryFailed, variableError, variableError
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated public Property(org.apache.commons.jexl3.parser.JexlNode node, String pty)
node
- the offending ASTnodepty
- the unknown property@Deprecated public Property(org.apache.commons.jexl3.parser.JexlNode node, String pty, Throwable cause)
node
- the offending ASTnodepty
- the unknown propertycause
- the exception causing the errorpublic Property(org.apache.commons.jexl3.parser.JexlNode node, String pty, boolean undef, Throwable cause)
node
- the offending ASTnodepty
- the unknown propertyundef
- whether the variable is null or undefinedcause
- the exception causing the errorpublic boolean isUndefined()
public String getProperty()
protected String detailedMessage()
JexlException
detailedMessage
in class JexlException
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.