Package org.apache.commons.jexl3
Class JexlException.Method
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.jexl3.JexlException
org.apache.commons.jexl3.JexlException.Method
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JexlException
Thrown when a method or ctor is unknown, ambiguous or inaccessible.
- Since:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.jexl3.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
ConstructorDescriptionCreates a new Method exception instance.Creates a new Method exception instance.Deprecated.as of 3.2, use call with method argumentsDeprecated.as of 3.2, use call with method argumentsCreates a new Method exception instance. -
Method Summary
Methods inherited from class org.apache.commons.jexl3.JexlException
annotationError, clean, getDetail, getInfo, getInfo, getMessage, info, methodError, methodError, operatorError, parserError, propertyError, propertyError, sliceSource, tryFailed, variableError, variableError
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method
Creates a new Method exception instance.- Parameters:
info
- the location informationname
- the method nameargs
- the method arguments- Since:
- 3.2
-
Method
Creates a new Method exception instance.- Parameters:
info
- the location informationname
- the method namecause
- the exception causing the errorargs
- the method arguments- Since:
- 3.2
-
Method
Deprecated.as of 3.2, use call with method argumentsCreates a new Method exception instance.- Parameters:
info
- the location informationname
- the unknown methodcause
- the exception causing the error
-
Method
Deprecated.as of 3.2, use call with method argumentsCreates a new Method exception instance.- Parameters:
node
- the offending ASTnodename
- the method name
-
Method
Creates a new Method exception instance.- Parameters:
node
- the offending ASTnodename
- the method nameargs
- the method arguments- Since:
- 3.2
-
-
Method Details
-
detailedMessage
Description copied from class:JexlException
Accesses detailed message.- Overrides:
detailedMessage
in classJexlException
- Returns:
- the message
-
getMethod
- Returns:
- the method name
-
getMethodSignature
- Returns:
- the method signature
- Since:
- 3.2
-