Remove unused exceptions
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / NetconfDeviceSimulator.java
index c19cc5574575f48298f8e7cb6bbde2150f16d361..dea8fa819913cdb77b9ea2be0be32b4f99eeebee 100644 (file)
@@ -268,7 +268,7 @@ public class NetconfDeviceSimulator implements Closeable {
     }
 
     private SshProxyServerConfiguration getSshConfiguration(final InetSocketAddress bindingAddress,
-            final LocalAddress tcpLocalAddress, final KeyPairProvider keyPairProvider) throws IOException {
+            final LocalAddress tcpLocalAddress, final KeyPairProvider keyPairProvider) {
         return new SshProxyServerConfigurationBuilder()
                 .setBindingAddress(bindingAddress)
                 .setLocalAddress(tcpLocalAddress)
@@ -370,7 +370,7 @@ public class NetconfDeviceSimulator implements Closeable {
             }
 
             @Override
-            public InputStream openStream() throws IOException {
+            public InputStream openStream() {
                 return getClass().getResourceAsStream(resource);
             }
         }), PotentialSchemaSource.create(sourceId, YangTextSchemaSource.class,