[
https://issues.apache.org/jira/browse/SLING-10283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Hoh closed SLING-10283.
-----------------------------
> Defined dedicated RepoInit RuntimeException instead of throwing generic
> RuntimeException/IllegalStateException/IllegalArgumentException
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-10283
> URL: https://issues.apache.org/jira/browse/SLING-10283
> Project: Sling
> Issue Type: Improvement
> Components: Repoinit
> Reporter: Angela Schreiber
> Priority: Major
> Fix For: Repoinit JCR 1.1.38
>
>
> Extracted from review finding for SLING-10281:
> IMHO it would be better to throw dedicated repo-init-runtime-exceptions that
> come with an error-code and a message instead of throwing RuntimeException,
> IllegalStateException and IllegalArgumentException.
> that would allow to document the various error codes along with explanations
> of the root cause and instructions on how to fix the corresponding repo-init
> statements.
> [~kwin], fyi.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)