org.apache.commons.jexl2
Class JexlException.Tokenization

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.jexl2.JexlException
                  extended by org.apache.commons.jexl2.JexlException.Tokenization
All Implemented Interfaces:
Serializable
Enclosing class:
JexlException

public static class JexlException.Tokenization
extends JexlException

Thrown when tokenization fails.

Since:
2.1
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.jexl2.JexlException
JexlException.Cancel, JexlException.Method, JexlException.Parsing, JexlException.Property, JexlException.Return, JexlException.Tokenization, JexlException.Variable
 
Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlException
info, mark, NULL_OPERAND
 
Constructor Summary
JexlException.Tokenization(JexlInfo node, CharSequence expr, TokenMgrError cause)
          Creates a new Tokenization exception instance.
 
Method Summary
protected  String detailedMessage()
          Accesses detailed message.
 String getExpression()
           
 
Methods inherited from class org.apache.commons.jexl2.JexlException
getInfo, getMessage, parserError
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JexlException.Tokenization

public JexlException.Tokenization(JexlInfo node,
                                  CharSequence expr,
                                  TokenMgrError cause)
Creates a new Tokenization exception instance.

Parameters:
node - the location info
expr - the expression
cause - the javacc cause
Method Detail

getExpression

public String getExpression()
Returns:
the expression

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.