Joerg Hoh created SLING-10625:
---------------------------------

             Summary: Repoinit Visitors should not throw RuntimeExceptions
                 Key: SLING-10625
                 URL: https://issues.apache.org/jira/browse/SLING-10625
             Project: Sling
          Issue Type: Improvement
          Components: Repoinit
    Affects Versions: Repoinit JCR 1.1.36
            Reporter: Joerg Hoh
             Fix For: Repoinit JCR 1.1.38


When a repoinit visitor catches an exception it wraps this exception into a 
RuntimeException. In case the original exception is an 
InvalidItemStateException, the retry mechanism introduced in SLING-10418 is not 
able to retry.

This should be changed, instead of wrapping the Exception the exception should 
just be thrown, the special handling of report should not be required at all.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to