You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "michael hampel (JIRA)" <ji...@apache.org> on 2008/08/21 07:56:44 UTC

[jira] Created: (FELIX-693) Improve error handling for ResolverImpl.deploy() method

Improve error handling for ResolverImpl.deploy() method
-------------------------------------------------------

                 Key: FELIX-693
                 URL: https://issues.apache.org/jira/browse/FELIX-693
             Project: Felix
          Issue Type: Improvement
          Components: Bundle Repository (OBR)
            Reporter: michael hampel
            Priority: Minor


The ResolverImpl.deploy() method catches all Exceptions that might occur when installing or starting a bundle
in an OSGi runtime, logs the error condition and then returns.
Therefore it is not easily possible for calling code to do an application specific error handling.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-693) Improve error handling for ResolverImpl.deploy() method

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626266#action_12626266 ] 

Felix Meschberger commented on FELIX-693:
-----------------------------------------

As I wrote in a comment to FELIX-701, I also think, that just returning half way down the road is probably not the best to be done.

But then, how do you think should the problem(s) be reported ? Have the exception being thrown. Interestingly the Resolver.deploy(boolean) method is defined to neither return a result nor throw a checked exception -- of course an unchecked exception might be thrown, but I am somewhat at unease with this....

> Improve error handling for ResolverImpl.deploy() method
> -------------------------------------------------------
>
>                 Key: FELIX-693
>                 URL: https://issues.apache.org/jira/browse/FELIX-693
>             Project: Felix
>          Issue Type: Improvement
>          Components: Bundle Repository (OBR)
>            Reporter: michael hampel
>            Priority: Minor
>
> The ResolverImpl.deploy() method catches all Exceptions that might occur when installing or starting a bundle
> in an OSGi runtime, logs the error condition and then returns.
> Therefore it is not easily possible for calling code to do an application specific error handling.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.