Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
@Requires(id="foo", optional = true, exception = NoServiceException.class) private FooService fs;