X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Futil%2Fexception%2FMissingNameSpaceException.java;fp=opendaylight%2Fnetconf%2Fnetconf-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Futil%2Fexception%2FMissingNameSpaceException.java;h=0a3e0b3ec33429051aade9cdd6e24b817505b209;hb=6dae254dbc2940d1f0f372d65d69b0e0dda415fe;hp=0000000000000000000000000000000000000000;hpb=7787fed520d06122c9b9d80934b73c7e77d44112;p=controller.git diff --git a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/exception/MissingNameSpaceException.java b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/exception/MissingNameSpaceException.java new file mode 100644 index 0000000000..0a3e0b3ec3 --- /dev/null +++ b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/exception/MissingNameSpaceException.java @@ -0,0 +1,26 @@ +/* + * 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 org.opendaylight.controller.netconf.api.NetconfDocumentedException; + +import java.util.Collections; +import java.util.Map; + +public class MissingNameSpaceException extends NetconfDocumentedException { + + public MissingNameSpaceException(final String message, final ErrorType errorType, final ErrorTag errorTag, + final ErrorSeverity errorSeverity) { + this(message, errorType, errorTag, errorSeverity, Collections. emptyMap()); + } + + public MissingNameSpaceException(final String message, final ErrorType errorType, final ErrorTag errorTag, + final ErrorSeverity errorSeverity, final Map errorInfo){ + super(message,errorType,errorTag,errorSeverity,errorInfo); + } +}