NamespacedAdapterConfiguration adapterConfiguration =
new NamespacedAdapterConfiguration(adapterConfigProperties,
getNamesapceServerConfiguration(namespace));
return adapterConfiguration;
} catch (FileNotFoundException e) {
throw new FeedConfigStoreException(Reason.ADAPTER_CONFIG_DOES_NOT_EXIST,
"No adapter configuration exists with the given name : " + adapterName);
} catch (IOException e) {
throw new FeedConfigStoreException(Reason.INTERNAL_ERROR,
"Problems encountered while retrieving the adapter configuration with the given name : "
+ adapterName);
}
}