Clement Escoffier created FELIX-4240:
----------------------------------------
Summary: Support the 'exception' attribute in service dependencies
Key: FELIX-4240
URL: https://issues.apache.org/jira/browse/FELIX-4240
Project: Felix
Issue Type: Sub-task
Components: iPOJO
Environment:
Reporter: Clement Escoffier
Assignee: Clement Escoffier
Fix For: ipojo-runtime-1.10.2
An optional service dependency can declare an 'exception' attribute. This
exception is raised when no service providers are available.
The specified exception must a subclass of Runtime Exception.
{code:java}
@Requires(id="foo", optional = true, exception = NoServiceException.class)
private FooService fs;
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira