} catch (GadgetException e) {
if (LOG.isLoggable(Level.INFO)) {
LOG.logp(Level.INFO, CLASS_NAME, "makeFetcher", MessageKeys.FAILED_TO_RETRIEVE,
new Object[] {ref.toString()});
}
throw new UriFetchException(ref, mimeType, e);
} catch (IOException e) {
if (LOG.isLoggable(Level.INFO)) {
LOG.logp(Level.INFO, CLASS_NAME, "makeFetcher", MessageKeys.FAILED_TO_READ,
new Object[] {ref.toString()});
}
throw new UriFetchException(ref, mimeType, e);
}
}
};
}