withStartPosition

public static ParseException withStartPosition(String errorMessage, String logMessage, int start)

Creates a new parse exception for situations in which only the start position of the error is known.

Return

the parser exception.

Parameters

errorMessage

the user error message.

logMessage

the original log message.

start

the index of the first character in the invalid section of the log message.