with Bounds
Creates a new parse exception for situations in which both the start and end positions of the error are known.
Return
the parser exception.
Parameters
error Message
the user error message.
log Message
the original log message.
start
the index of the first character in the invalid section of the log message.
end
the index after the last character in the invalid section of the log message.