org.apache.commons.jexl2
Class JexlException.Variable
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.jexl2.JexlException
org.apache.commons.jexl2.JexlException.Variable
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- JexlException
public static class JexlException.Variable
- extends JexlException
Thrown when a variable is unknown.
- Since:
- 2.1
- See Also:
- Serialized Form
JexlException.Variable
public JexlException.Variable(JexlNode node,
String var)
- Creates a new Variable exception instance.
- Parameters:
node
- the offending ASTnodevar
- the unknown variable
getVariable
public String getVariable()
- Returns:
- the variable name
detailedMessage
protected String detailedMessage()
- Description copied from class:
JexlException
- Accesses detailed message.
- Overrides:
detailedMessage
in class JexlException
- Returns:
- the message
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.