You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2022/03/07 07:25:00 UTC

[jira] [Closed] (SLING-10625) Repoinit Visitors should not throw RuntimeExceptions

     [ https://issues.apache.org/jira/browse/SLING-10625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Angela Schreiber closed SLING-10625.
------------------------------------

> 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
>            Assignee: Joerg Hoh
>            Priority: Major
>             Fix For: Repoinit JCR 1.1.38
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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. Also a retry is not required.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)