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.