Bump MRI upstreams
[netconf.git] / netconf / netconf-util / src / main / java / org / opendaylight / netconf / util / mapping / AbstractLastNetconfOperation.java
index f4414fb29540cc108cd03a62a9b804fc7d66af07..2e6f6410cb18f6561c3c54ed5f9ba0ac225b8ca6 100644 (file)
@@ -12,6 +12,7 @@ import org.opendaylight.netconf.api.xml.XmlElement;
 import org.opendaylight.netconf.mapping.api.HandlingPriority;
 import org.opendaylight.netconf.mapping.api.NetconfOperationChainedExecution;
 import org.opendaylight.yangtools.yang.common.ErrorSeverity;
+import org.opendaylight.yangtools.yang.common.ErrorTag;
 import org.opendaylight.yangtools.yang.common.ErrorType;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
@@ -27,7 +28,7 @@ public abstract class AbstractLastNetconfOperation extends AbstractNetconfOperat
         if (!subsequentOperation.isExecutionTermination()) {
             throw new DocumentedException(String.format(
                     "No netconf operation expected to be subsequent to %s, but is %s", this, subsequentOperation),
-                    ErrorType.APPLICATION, DocumentedException.MALFORMED_MESSAGE, ErrorSeverity.ERROR);
+                    ErrorType.APPLICATION, ErrorTag.MALFORMED_MESSAGE, ErrorSeverity.ERROR);
         }
 
         return handleWithNoSubsequentOperations(document, operationElement);
@@ -38,6 +39,6 @@ public abstract class AbstractLastNetconfOperation extends AbstractNetconfOperat
         return HandlingPriority.HANDLE_WITH_DEFAULT_PRIORITY;
     }
 
-    protected abstract Element handleWithNoSubsequentOperations(Document document,
-                                                                XmlElement operationElement) throws DocumentedException;
+    protected abstract Element handleWithNoSubsequentOperations(Document document, XmlElement operationElement)
+        throws DocumentedException;
 }