public void addResourceData(SMDiscoEntryData data){
  try {
    data.setDiscoStr(isUserResourceOffering());
    discoData.add(data);
  }
 catch (  AMConsoleException e) {
    debug.error("SMDiscoveryServiceData.addResourceData",e);
  }
}

public void addResourceData ( SMDiscoEntryData data ) { try { data . setDiscoStr ( isUserResourceOffering ( ) ) ; discoData . add ( data ) ; } catch ( AMConsoleException e ) { debug . error ( "SMDiscoveryServiceData.addResourceData" , e ) ; } }
adds the resource offering entry to the list object .
