Angela Schreiber created SLING-10283:
----------------------------------------
Summary: 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
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.
[~kwindszus], fyi.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)