You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2009/06/17 22:28:08 UTC

[jira] Closed: (FELIX-1250) Support service exceptions for service factories

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

Richard S. Hall closed FELIX-1250.
----------------------------------

    Resolution: Fixed

Committed a patch.

> Support service exceptions for service factories
> ------------------------------------------------
>
>                 Key: FELIX-1250
>                 URL: https://issues.apache.org/jira/browse/FELIX-1250
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.8.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-2.0.0
>
>
> The R4.2 specification introduces a new runtime exception, called ServiceException. This is largely intended to be used by service implementations and middleware, but the framework must also use it to throw exceptions when ServiceFactory objects misbehave. If a ServiceFactory returns null, throws an exception, or returns an object not castable to objectClass interfaces, then the framework must fire a framework event with a service exception as the cause.

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