final void validateOid(long[] oid,int pos) throws SnmpStatusException {
  final int length=oid.length;
  if (pos + 2 >= length) {
    throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
  }
  if (oid[pos] != nodeId) {
    throw new SnmpStatusException(SnmpStatusException.noSuchObject);
  }
}

final void validateOid ( long [ ] oid , int pos ) throws SnmpStatusException { final int length = oid . length ; if ( pos + 2 >= length ) { throw new SnmpStatusException ( SnmpStatusException . noSuchInstance ) ; } if ( oid [ pos ] != nodeId ) { throw new SnmpStatusException ( SnmpStatusException . noSuchObject ) ; } }
validate the specified oid . < p >
