2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.netconf.api.xml;
10 import java.io.Serial;
12 import org.opendaylight.netconf.api.DocumentedException;
13 import org.opendaylight.yangtools.yang.common.ErrorSeverity;
14 import org.opendaylight.yangtools.yang.common.ErrorTag;
15 import org.opendaylight.yangtools.yang.common.ErrorType;
17 public class MissingNameSpaceException extends DocumentedException {
19 private static final long serialVersionUID = 1L;
21 public MissingNameSpaceException(final String message, final ErrorType errorType, final ErrorTag errorTag,
22 final ErrorSeverity errorSeverity) {
23 this(message, errorType, errorTag, errorSeverity, Map.of());
26 public MissingNameSpaceException(final String message, final ErrorType errorType, final ErrorTag errorTag,
27 final ErrorSeverity errorSeverity, final Map<String, String> errorInfo) {
28 super(message, errorType, errorTag, errorSeverity, errorInfo);