throws InstantiationException {
try {
protocolHandler = new ProtocolHandler(config.getProtocolInfo());
this.config = config;
this.siteInfo = siteInfo;
mimeTypeDetection = new MimeTypeUtils(config
.getProductTypeDetectionFile());
} catch (Exception e) {
e.printStackTrace();
throw new InstantiationException(
"Failed to create FileRetrievalSystem : " + e.getMessage());