{
model = xpp3Reader.read( reader );
}
catch( IOException e )
{
throw new NPandayRepositoryException( "NPANDAY-062-000: An error occurred while reading plugins-compiler.xml", e );
}
catch ( XmlPullParserException e )
{
throw new NPandayRepositoryException( "NPANDAY-062-001: Could not read plugins-compiler.xml", e );
}
List<ConfigurationAppender> appenders = model.getConfigurationAppenders();
appenderClasses = new HashSet<Class>();
for(ConfigurationAppender appender : appenders)
{
try
{
appenderClasses.add(Class.forName( appender.getName() ));
}
catch ( ClassNotFoundException e )
{
throw new NPandayRepositoryException("NPANDAY-xxx-000: Could not load class appender: Name = " + appender.getName(), e );
}
}
}