Fix IPluginInBridgeDomainConfigService API
[controller.git] / opendaylight / sal / networkconfiguration / api / src / main / java / org / opendaylight / controller / sal / networkconfig / bridgedomain / IPluginInBridgeDomainConfigService.java
index cdb14b734774759d6d79261d372a2acb3f940a63..c84136115c434c0a26367afcf1a438670e37f119 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.sal.networkconfig.bridgedomain;
 
 import java.util.List;
@@ -22,7 +29,7 @@ public interface IPluginInBridgeDomainConfigService {
      * @note This method will return false if one or more of the supplied params is not supported by the
      * protocol plugin that serves the Node.
      */
-    public Status createBridgeDomain(Node node, String bridgeIdentifier, Map<ConfigConstants, Object> params) throws Throwable;
+    public Status createBridgeDomain(Node node, String bridgeIdentifier, Map<ConfigConstants, Object> params) throws BridgeDomainConfigServiceException;
 
     /**
      * Delete a Bridge Domain
@@ -154,4 +161,4 @@ public interface IPluginInBridgeDomainConfigService {
      *         returns null if there is no such nodeConnector is available or mapped.
      */
     public NodeConnector getNodeConnector(Node configNode, String bridgeIdentifier, String portIdentifier);
-}
\ No newline at end of file
+}