Remove RestconfError.ErrorType
[netconf.git] / restconf / restconf-common / src / main / java / org / opendaylight / restconf / common / util / RestconfSchemaUtil.java
index 261e32a4e7e15bb164d4e1b458b128b85a51b29f..bc3e676eb890be9db11bca676c5a0c9c6814be3f 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.restconf.common.util;
 import java.util.Collection;
 import org.opendaylight.restconf.common.errors.RestconfDocumentedException;
 import org.opendaylight.restconf.common.errors.RestconfError.ErrorTag;
-import org.opendaylight.restconf.common.errors.RestconfError.ErrorType;
+import org.opendaylight.yangtools.yang.common.ErrorType;
 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
 import org.opendaylight.yangtools.yang.model.api.SchemaNode;
 
@@ -46,5 +46,4 @@ public final class RestconfSchemaUtil {
         throw new RestconfDocumentedException("Schema node " + schemaNodeName + " does not exist in module.",
                 ErrorType.PROTOCOL, ErrorTag.DATA_MISSING);
     }
-
 }