Bump upstream versions
[netconf.git] / netconf / mdsal-netconf-connector / src / main / java / org / opendaylight / netconf / mdsal / connector / ops / CopyConfig.java
index f4b0ec29350ad6136d1416265038666a6deec3fe..501116572e387a4aacba1e3f62b9b6d0996822d5 100644 (file)
@@ -202,7 +202,8 @@ public final class CopyConfig extends AbstractEdit {
             nnWriter.flush();
             xmlWriter.flush();
         } catch (XMLStreamException | IOException e) {
-            throw new RuntimeException(e);
+            // FIXME: throw DocumentedException
+            throw new IllegalStateException(e);
         }
         return result.getNode();
     }