Class SimpleIllegalSyntaxException

  • All Implemented Interfaces:
    Serializable

    public class SimpleIllegalSyntaxException
    extends org.apache.camel.ExpressionIllegalSyntaxException
    Syntax error in the simple language expression.
    See Also:
    Serialized Form
    • 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
      • getShortMessage

        public String getShortMessage()
        Gets a short error message.