org.apache.camel.language.simple.types
Class SimpleParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.language.simple.types.SimpleParserException
- All Implemented Interfaces:
- Serializable
public class SimpleParserException
- extends RuntimeCamelException
Holds information about error parsing the simple expression at a given location
in the input.
- See Also:
- Serialized Form
Method Summary |
int |
getIndex()
Index where the parsing error occurred |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SimpleParserException
public SimpleParserException(String message,
int index)
getIndex
public int getIndex()
- Index where the parsing error occurred
- Returns:
- index of the parsing error in the input
Apache Camel