Class ParseException

All Implemented Interfaces:
Serializable

public final class ParseException extends RuntimeException
An unchecked exception to indicate that an input does not qualify as valid JSON.
See Also:
  • Constructor Details

    • ParseException

      public ParseException(String message, Location location)
  • Method Details

    • getLocation

      public Location getLocation()
      Returns the location at which the error occurred.
      Returns:
      the error location