} catch (MalformedURLException e) {
uridFetchTransaction.stop(
MonitoredTransaction.FAILED, urlAsString);
// need to generate an error event.
Locator locator = context.getCurrentLocator();
ResourceNotFoundException error = new ResourceNotFoundException(
"The URI " + href + " could not be included", locator, e);
error.initErrorInfo(id, null, null,null);
target.fatalError(error);
} catch (RuntimeHttpException e) {
uridFetchTransaction.stop(
MonitoredTransaction.FAILED, urlAsString);
// need to generate an error event.
Locator locator = context.getCurrentLocator();
ResourceNotFoundException error = new ResourceNotFoundException(
"The URI " + href + " could not be included", locator, e);
error.initErrorInfo(id, null, null,null);
target.fatalError(error);
}
}