Updated BgpManager for Be
[vpnservice.git] / bgpmanager / bgpmanager-impl / src / main / java / org / opendaylight / bgpmanager / thrift / exceptions / BgpRouterException.java
diff --git a/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/exceptions/BgpRouterException.java b/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/exceptions/BgpRouterException.java
deleted file mode 100644 (file)
index ee91b11..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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.bgpmanager.thrift.exceptions;
-
-public class BgpRouterException extends Exception {
-    public final static int BGP_ERR_INITED = 101;
-    public final static int BGP_ERR_NOT_INITED = 102;
-
-    // the following consts are server-dictated. do not modify
-    public final static int BGP_ERR_ACTIVE = 10;
-    public final static int BGP_ERR_INACTIVE = 11;
-    public final static int BGP_ERR_COMM = 12;
-    public final static int BGP_ERR_LOCAL = 13;
-    public final static int BGP_ERR_IN_ITER =  14;
-    public final static int BGP_ERR_NOT_ITER = 15;
-    public final static int BGP_ERR_UNKNOWN = 100;
-
-
-    public BgpRouterException(int cause) {
-        errcode = cause;
-    }
-
-    public int getErrorCode() {
-        return errcode;
-    }
-
-    private int errcode;
-}