Fix IPluginInBridgeDomainConfigService API 41/5341/7
authorRobert Varga <rovarga@cisco.com>
Sat, 15 Feb 2014 02:39:22 +0000 (03:39 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 28 Mar 2014 01:03:25 +0000 (01:03 +0000)
commita8ae568a4a5cd190c71a12f115fcaa27588c4155
tree4fa4d94ff90d5dd9c082d9adfd9ba07b8e31d813
parent11de48616ef1104c24e04e6ca837956651e5f979
Fix IPluginInBridgeDomainConfigService API

IPluginInBridgeDomainConfigService protomoted Throwable into a
checked-exception status. This also includes Errors, which is not a good
thing, as Errors are not something we can handle gracefully.

Introduce a dedicated exception which implementations can use to report
instantiation problems.

Change-Id: Ib16d792acfcf77c68b92b35526ed7471e2172cbe
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/northbound/networkconfiguration/bridgedomain/src/main/java/org/opendaylight/controller/networkconfig/bridgedomain/northbound/BridgeDomainNorthbound.java
opendaylight/sal/networkconfiguration/api/src/main/java/org/opendaylight/controller/sal/networkconfig/bridgedomain/BridgeDomainConfigServiceException.java [new file with mode: 0644]
opendaylight/sal/networkconfiguration/api/src/main/java/org/opendaylight/controller/sal/networkconfig/bridgedomain/IPluginInBridgeDomainConfigService.java
opendaylight/sal/networkconfiguration/implementation/src/main/java/org/opendaylight/controller/sal/networkconfig/bridgedomain/internal/BridgeDomainConfigService.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.