All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.controller.netconf.util.exception.UnexpectedNamespaceException Maven / Gradle / Ivy

There is a newer version: 0.3.4-Lithium-SR4
Show newest version
/*
 * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.controller.netconf.util.exception;

import java.util.Collections;
import java.util.Map;
import org.opendaylight.controller.netconf.api.NetconfDocumentedException;

public class UnexpectedNamespaceException extends NetconfDocumentedException {
    private static final long serialVersionUID = 1L;

    public UnexpectedNamespaceException(final String message, final ErrorType errorType, final ErrorTag errorTag,
                                          final ErrorSeverity errorSeverity) {
        this(message, errorType, errorTag, errorSeverity, Collections. emptyMap());
    }

    public UnexpectedNamespaceException(final String message, final ErrorType errorType, final ErrorTag errorTag,
                                          final ErrorSeverity errorSeverity, final Map errorInfo){
        super(message,errorType,errorTag,errorSeverity,errorInfo);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy