Revision 4175
Added by daigle almost 16 years ago
HarvestSiteSchedule.java | ||
---|---|---|
332 | 332 |
inputStream = url.openStream(); |
333 | 333 |
harvester.addLogEntry(0, |
334 | 334 |
"Retrieved: " + documentListURL, |
335 |
"GetHarvestListSuccess", |
|
335 |
"harvester.GetHarvestListSuccess",
|
|
336 | 336 |
siteScheduleID, |
337 | 337 |
null, |
338 | 338 |
""); |
... | ... | |
340 | 340 |
documentListHandler.runParser(inputStreamReader, schemaLocation); |
341 | 341 |
harvester.addLogEntry(0, |
342 | 342 |
"Validated: " + documentListURL, |
343 |
"ValidateHarvestListSuccess", |
|
343 |
"harvester.ValidateHarvestListSuccess",
|
|
344 | 344 |
siteScheduleID, |
345 | 345 |
null, |
346 | 346 |
""); |
... | ... | |
348 | 348 |
} |
349 | 349 |
catch (MalformedURLException e){ |
350 | 350 |
harvester.addLogEntry(1, "MalformedURLException: " + e.getMessage(), |
351 |
"GetHarvestListError", siteScheduleID, null, ""); |
|
351 |
"harvester.GetHarvestListError", siteScheduleID, null, "");
|
|
352 | 352 |
} |
353 | 353 |
catch (FileNotFoundException e) { |
354 | 354 |
harvester.addLogEntry(1, "FileNotFoundException: " + e.getMessage(), |
355 |
"GetHarvestListError", siteScheduleID, null, ""); |
|
355 |
"harvester.GetHarvestListError", siteScheduleID, null, "");
|
|
356 | 356 |
} |
357 | 357 |
catch (SAXException e) { |
358 | 358 |
harvester.addLogEntry(1, "SAXException: " + e.getMessage(), |
359 |
"ValidateHarvestListError", siteScheduleID, null, ""); |
|
359 |
"harvester.ValidateHarvestListError", siteScheduleID, null, "");
|
|
360 | 360 |
} |
361 | 361 |
catch (ClassNotFoundException e) { |
362 | 362 |
harvester.addLogEntry(1, "ClassNotFoundException: " + e.getMessage(), |
363 |
"ValidateHarvestListError", siteScheduleID, null, ""); |
|
363 |
"harvester.ValidateHarvestListError", siteScheduleID, null, "");
|
|
364 | 364 |
} |
365 | 365 |
catch (IOException e) { |
366 | 366 |
harvester.addLogEntry(1, "IOException: " + e.getMessage(), |
367 |
"GetHarvestListError", siteScheduleID, null, ""); |
|
367 |
"harvester.GetHarvestListError", siteScheduleID, null, "");
|
|
368 | 368 |
} |
369 | 369 |
|
370 | 370 |
return success; |
Also available in: Unified diff
Qualify harvester properties