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

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.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

Constructor Summary
SimpleParserException(String message, int index)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleParserException

public SimpleParserException(String message,
                             int index)
Method Detail

getIndex

public int getIndex()
Index where the parsing error occurred

Returns:
index of the parsing error in the input


Apache CAMEL