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
public static class JexlException.Method
- extends JexlException
Thrown when a method or ctor is unknown, ambiguous or inaccessible.
- Since:
- 3.0
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.apache.commons.jexl3.JexlException |
JexlException.Ambiguous, JexlException.Annotation, JexlException.Assignment, JexlException.Break, JexlException.Cancel, JexlException.Continue, JexlException.Method, JexlException.Operator, JexlException.Parsing, JexlException.Property, JexlException.Return, JexlException.Tokenization, JexlException.Variable |
JexlException.Method
public JexlException.Method(JexlNode node,
String name)
- Creates a new Method exception instance.
- Parameters:
node
- the offending ASTnodename
- the method name
JexlException.Method
public JexlException.Method(JexlInfo info,
String name,
Throwable cause)
- Creates a new Method exception instance.
- Parameters:
info
- the location informationname
- the unknown methodcause
- the exception causing the error
getMethod
public String getMethod()
- Returns:
- the method name
detailedMessage
protected String detailedMessage()
- Description copied from class:
JexlException
- Accesses detailed message.
- Overrides:
detailedMessage
in class JexlException
- Returns:
- the message
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.