Class Parser.ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.google.common.labs.parse.Parser.ParseException
- All Implemented Interfaces:
Serializable
Thrown if parsing failed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the index in the source where this error was detected.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getSourceIndex
public int getSourceIndex()Returns the index in the source where this error was detected.The index is for diagnostic purpose and isn't guaranteed to be stable and deterministic across different versions.
-