import org.opendaylight.netconf.api.xml.XmlElement;
import org.opendaylight.netconf.mdsal.connector.CurrentSchemaContext;
import org.opendaylight.yangtools.yang.common.ErrorSeverity;
+import org.opendaylight.yangtools.yang.common.ErrorType;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.common.XMLNamespace;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
} catch (final ValidationException e) {
LOG.debug("Filter content isn't valid", e);
throw new DocumentedException("Validation failed. Cause: " + e.getMessage(), e,
- DocumentedException.ErrorType.APPLICATION,
- DocumentedException.ErrorTag.UNKNOWN_NAMESPACE,
- ErrorSeverity.ERROR);
+ ErrorType.APPLICATION, DocumentedException.ErrorTag.UNKNOWN_NAMESPACE, ErrorSeverity.ERROR);
}
}
return childNode;
}
}
- throw new DocumentedException("Unable to find node with namespace: " + nameSpace
- + "in schema context: " + schemaContext.getCurrentContext().toString(),
- DocumentedException.ErrorType.APPLICATION,
- DocumentedException.ErrorTag.UNKNOWN_NAMESPACE,
- ErrorSeverity.ERROR);
+ throw new DocumentedException("Unable to find node with namespace: " + nameSpace + " in schema context: "
+ + schemaContext.getCurrentContext(),
+ ErrorType.APPLICATION, DocumentedException.ErrorTag.UNKNOWN_NAMESPACE, ErrorSeverity.ERROR);
}
/**