Class Parser.ParseException

All Implemented Interfaces:
Serializable
Enclosing class:
Parser<T>

public static class Parser.ParseException extends IllegalArgumentException
Thrown if parsing failed.
See Also:
  • 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.