You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2014/11/25 10:34:12 UTC

[jira] [Commented] (SLING-4197) Startup fails if StartupHandler throws an exception

    [ https://issues.apache.org/jira/browse/SLING-4197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224286#comment-14224286 ] 

Felix Meschberger commented on SLING-4197:
------------------------------------------

Implemented catching and logging of Throwable thrown from StartupListener methods in Rev. 1641555

> Startup fails if StartupHandler throws an exception
> ---------------------------------------------------
>
>                 Key: SLING-4197
>                 URL: https://issues.apache.org/jira/browse/SLING-4197
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>    Affects Versions: Launchpad Base 2.5.2, Launchpad API 1.1.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Launchpad Base 2.5.4, Launchpad API 1.1.2
>
>
> The DefaultStartupHandler in Launchpad Base informs StartupListener services about the startup progress. StartupListener methods don't have documentation about exceptions to be thrown or not.
> The DefaultStartupHandler should be improved to catch exceptions and log them.
> StartupListener interface JavaDoc might be improved indicating that methods should not throw.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)