Package uk.blankaspect.common.json
Class JsonParser.ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
uk.blankaspect.common.json.JsonParser.ParseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JsonParser
This class implements an exception that is thrown if an error occurs when parsing JSON text.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the zero-based index of the column of the input text at which the exception occurred.int
Returns the zero-based index of the line of the input text at which the exception occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getLineIndex
public int getLineIndex()Returns the zero-based index of the line of the input text at which the exception occurred.- Returns:
- the zero-based index of the line of the input text at which the exception occurred.
- See Also:
-
getColumnIndex
public int getColumnIndex()Returns the zero-based index of the column of the input text at which the exception occurred.- Returns:
- the zero-based index of the column of the input text at which the exception occurred.
- See Also:
-