throws IOException, ConfigurationException
{
Reader fr = null;
try {
NexusConfigurationXpp3Reader reader = new NexusConfigurationXpp3Reader();
fr = new InputStreamReader(is);
InterpolatorFilterReader ip = new InterpolatorFilterReader(fr, interpolatorProvider.getInterpolator());
// read again with interpolation
configuration = reader.read(ip);
}
catch (XmlPullParserException e) {
configuration = null;
throw new ConfigurationException("Nexus configuration file was not loaded, it has the wrong structure.", e);