Decouple config and netconf subsystems.
[controller.git] / opendaylight / netconf / netconf-cli / src / main / java / org / opendaylight / controller / netconf / cli / commands / CommandInvocationException.java
diff --git a/opendaylight/netconf/netconf-cli/src/main/java/org/opendaylight/controller/netconf/cli/commands/CommandInvocationException.java b/opendaylight/netconf/netconf-cli/src/main/java/org/opendaylight/controller/netconf/cli/commands/CommandInvocationException.java
deleted file mode 100644 (file)
index e38f45f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2014 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.cli.commands;
-
-import org.opendaylight.yangtools.yang.common.QName;
-
-public class CommandInvocationException extends Exception {
-
-    public CommandInvocationException(final QName qName, final Throwable cause) {
-        this("Command " + qName + " invocation failed: " + cause.getMessage(), cause);
-    }
-
-    protected CommandInvocationException(final String message, final Throwable cause) {
-        super(message, cause);
-    }
-
-    public static class CommandTimeoutException extends CommandInvocationException {
-
-        public CommandTimeoutException(final QName qName, final Throwable e) {
-            super("Command " + qName + " timed out: " + e.getMessage(), e);
-        }
-    }
-}