org.apache.camel.language.simple.types
Class SimpleIllegalSyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.camel.RuntimeCamelException
                  extended by org.apache.camel.ExpressionIllegalSyntaxException
                      extended by org.apache.camel.language.simple.types.SimpleIllegalSyntaxException
All Implemented Interfaces:
Serializable

public class SimpleIllegalSyntaxException
extends ExpressionIllegalSyntaxException

Syntax error in the simple language expression.

See Also:
Serialized Form

Constructor Summary
SimpleIllegalSyntaxException(String expression, int index, String message)
           
SimpleIllegalSyntaxException(String expression, int index, String message, Throwable cause)
           
 
Method Summary
 int getIndex()
          Index where the parsing error occurred
 String getMessage()
           
 
Methods inherited from class org.apache.camel.ExpressionIllegalSyntaxException
getExpression
 
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

SimpleIllegalSyntaxException

public SimpleIllegalSyntaxException(String expression,
                                    int index,
                                    String message)

SimpleIllegalSyntaxException

public SimpleIllegalSyntaxException(String expression,
                                    int index,
                                    String message,
                                    Throwable cause)
Method Detail

getIndex

public int getIndex()
Index where the parsing error occurred

Returns:
index of the parsing error in the input, returns -1 if the cause of the problem is not applicable to specific index in the input

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Apache CAMEL