You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/01/20 12:08:00 UTC
[jira] [Created] (SLING-11758) Expose line and column in RepoInitParsingException
Konrad Windszus created SLING-11758:
---------------------------------------
Summary: Expose line and column in RepoInitParsingException
Key: SLING-11758
URL: https://issues.apache.org/jira/browse/SLING-11758
Project: Sling
Issue Type: Improvement
Components: Repoinit
Affects Versions: Repoinit Parser 1.8.0
Reporter: Konrad Windszus
Fix For: Repoinit Parser 1.8.2
In order to emit better error messages (e.g. for SLING-11729) it would be useful to expose the line and column where the error occurred through dedicated getter methods (and not only hidden in the exception message). That allows m2e to render error markers at the correct position.
In case no line/column information is available {{-1}} should be returned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)