Class JexlException.Ambiguous
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.jexl3.JexlException
org.apache.commons.jexl3.JexlException.Parsing
org.apache.commons.jexl3.JexlException.Ambiguous
- All Implemented Interfaces:
Serializable
- Enclosing class:
JexlException
Thrown when parsing fails due to an ambiguous statement.
- Since:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class 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.Throw, JexlException.Tokenization, JexlException.TryFailed, JexlException.Variable, JexlException.VariableIssue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringAccesses detailed message.tryCleanSource(String src) Tries to remove this ambiguity in the source.Methods inherited from class JexlException
annotationError, clean, getDetail, getInfo, getInfo, getMessage, info, methodError, methodError, operatorError, parserError, propertyError, propertyError, sliceSource, tryFailed, variableError, variableErrorMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Ambiguous
-
Ambiguous
-
-
Method Details
-
detailedMessage
Description copied from class:JexlExceptionAccesses detailed message.- Overrides:
detailedMessagein classJexlException.Parsing- Returns:
- the message
-
tryCleanSource
Tries to remove this ambiguity in the source.- Parameters:
src- the source that triggered this exception- Returns:
- the source with the ambiguous statement removed or null if no recovery was possible
-