.toString( ) );
logger.error( new StringBuilder( ).append( "Please check the file and try again" ).toString( ) );</BUG>
continue ;
}
list.add( configuration );
<BUG>} catch ( Exception e ) {
logger.error( e.getMessage( ) , e );
logger.error( new StringBuilder( ).append( "Adding the virtual sensor specified in " ).append( file ).append( " failed." ).toString( ) );</BUG>
}
}

try {
VsConf vsConf=VsConf.load(file);
configuration=BeansInitializer.vsensor(vsConf);
configuration.setFileName( file );
if ( !configuration.validate( ) ) {
logger.error("Adding the virtual sensor specified in "+file+" failed because of one or more problems in configuration file.");
logger.info("Please check the file and try again");
continue ;
}
list.add( configuration );
} catch ( Exception e ) {
logger.error("Adding the virtual sensor specified in "+file+" failed."+ e.getMessage());
