1 package org.opendaylight.bgpmanager.thrift.exceptions;
3 public class BgpRouterException extends Exception {
4 public final static int BGP_ERR_INITED = 101;
5 public final static int BGP_ERR_NOT_INITED = 102;
7 // the following consts are server-dictated. do not modify
8 public final static int BGP_ERR_ACTIVE = 10;
9 public final static int BGP_ERR_INACTIVE = 11;
10 public final static int BGP_ERR_COMM = 12;
11 public final static int BGP_ERR_LOCAL = 13;
12 public final static int BGP_ERR_IN_ITER = 14;
13 public final static int BGP_ERR_NOT_ITER = 15;
14 public final static int BGP_ERR_UNKNOWN = 100;
17 public BgpRouterException(int cause) {
21 public int getErrorCode() {