@Override public SnmpMibHandler addMib(SnmpMibAgent mib) throws IllegalArgumentException {
  if (mib == null) {
    throw new IllegalArgumentException();
  }
  if (!mibs.contains(mib))   mibs.addElement(mib);
  root.register(mib);
  return this;
}

@ Override public SnmpMibHandler addMib ( SnmpMibAgent mib ) throws IllegalArgumentException { if ( mib == null ) { throw new IllegalArgumentException ( ) ; } if ( ! mibs . contains ( mib ) ) mibs . addElement ( mib ) ; root . register ( mib ) ; return this ; }
adds a new mib in the snmp mib handler .
