- private SshProxyServer startSSHServer(final BundleContext bundleContext) throws IOException {
- final NetconfConfiguration netconfConfiguration = NetconfConfigUtil.getNetconfConfigurationService(bundleContext).
- orElseThrow(() -> new IllegalStateException("Configuration for SSH not found."));
+ private SshProxyServer startSSHServer(final BundleContext bundleContext)
+ throws IOException, InvalidSyntaxException {
+ final NetconfConfiguration netconfConfiguration =
+ NetconfConfigUtil.getNetconfConfigurationService(bundleContext);