package org.opendaylight.netconf.server.mdsal.operations;
import java.io.IOException;
-import java.net.URISyntaxException;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.ExecutionException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
-import org.xml.sax.SAXException;
public class RuntimeRpc extends AbstractSingletonNetconfOperation {
private static final Logger LOG = LoggerFactory.getLogger(RuntimeRpc.class);
try {
xmlParser.traverse(new DOMSource(element.getDomElement()));
- } catch (final XMLStreamException | URISyntaxException | IOException | SAXException ex) {
+ } catch (final XMLStreamException | IOException ex) {
throw new NetconfDocumentedException("Error parsing input: " + ex.getMessage(), ex,
ErrorType.PROTOCOL, ErrorTag.MALFORMED_MESSAGE, ErrorSeverity.ERROR);
}