Class SimpleIllegalSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.camel.RuntimeCamelException
-
- org.apache.camel.ExpressionIllegalSyntaxException
-
- org.apache.camel.language.simple.types.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 Summary
Constructors Constructor Description SimpleIllegalSyntaxException(String expression, int index, String message)
SimpleIllegalSyntaxException(String expression, int index, String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
Index where the parsing error occurredString
getMessage()
String
getShortMessage()
Gets a short error message.-
Methods inherited from class org.apache.camel.RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-