[
https://issues.apache.org/jira/browse/SLING-11758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus closed SLING-11758.
-----------------------------------
> 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
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Repoinit Parser 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)