Merge "Bug 6235 - Cookie compare in FlowRegistryKeyFactory"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / TxFacade.java
index b117d375d0e3d594ef9d2a4b87886f5ce7af37ee..1fc958013e6e740bf8219940c8a1b6e05093ccb1 100644 (file)
@@ -22,20 +22,23 @@ public interface TxFacade {
     /**
      * Method creates put operation using provided data in underlying transaction chain.
      */
-    <T extends DataObject> void writeToTransaction(final LogicalDatastoreType store, final InstanceIdentifier<T> path,
-                                                   final T data) throws TransactionChainClosedException;
+    <T extends DataObject> void writeToTransaction(final LogicalDatastoreType store,
+                                                   final InstanceIdentifier<T> path,
+                                                   final T data);
 
     /**
      * Method creates put operation using provided data in underlying transaction chain and flag to create missing parents
      * WARNING: This method is slow because of additional reading cost. Use it only if you really need to create parents.
      */
-    <T extends DataObject> void writeToTransactionWithParentsSlow(final LogicalDatastoreType store, final InstanceIdentifier<T> path,
-                                                                  final T data) throws TransactionChainClosedException;
+    <T extends DataObject> void writeToTransactionWithParentsSlow(final LogicalDatastoreType store,
+                                                                  final InstanceIdentifier<T> path,
+                                                                  final T data);
 
     /**
      * Method creates delete operation for provided path in underlying transaction chain.
      */
-    <T extends DataObject> void addDeleteToTxChain(final LogicalDatastoreType store, final InstanceIdentifier<T> path) throws TransactionChainClosedException;
+    <T extends DataObject> void addDeleteToTxChain(final LogicalDatastoreType store,
+                                                   final InstanceIdentifier<T> path);
 
     /**
      * Method submits Transaction to DataStore.