org.apache.commons.jexl3
Class JexlException.Parsing

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.jexl3.JexlException
                  extended by org.apache.commons.jexl3.JexlException.Parsing
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JexlException.Ambiguous, JexlException.Assignment
Enclosing class:
JexlException

public static class JexlException.Parsing
extends JexlException

Thrown when parsing fails.

Since:
3.0
See Also:
Serialized Form

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.Method, JexlException.Operator, JexlException.Parsing, JexlException.Property, JexlException.Return, JexlException.Tokenization, JexlException.Variable
 
Constructor Summary
JexlException.Parsing(JexlInfo info, ParseException cause)
          Creates a new Parsing exception instance.
JexlException.Parsing(JexlInfo info, String msg)
          Creates a new Parsing exception instance.
 
Method Summary
protected  String detailedMessage()
          Accesses detailed message.
 String getDetail()
           
 
Methods inherited from class org.apache.commons.jexl3.JexlException
annotationError, clean, getInfo, getInfo, getMessage, methodError, operatorError, parserError, propertyError, variableError
 
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.Parsing

public JexlException.Parsing(JexlInfo info,
                             ParseException cause)
Creates a new Parsing exception instance.

Parameters:
info - the location information
cause - the javacc cause

JexlException.Parsing

public JexlException.Parsing(JexlInfo info,
                             String msg)
Creates a new Parsing exception instance.

Parameters:
info - the location information
msg - the message
Method Detail

getDetail

public String getDetail()
Returns:
the specific detailed message

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.