classLoader );
}
} catch ( IOException e ) {
final String msg = MessageFormat.format( ERR_FILE_READ,
serviceClass.getName() );
throw new ProviderInitializationException( msg,
e );
} finally {
try {
providerConfigFile.close();
} catch ( IOException e ) {
// FIXME: This should use the Drools logging mechanism.
e.printStackTrace();
}
}
}
// did not find an implementation anywhere
final String msg = MessageFormat.format( ERR_NOT_FOUND,
serviceClass.getName() );
throw new ProviderInitializationException( msg );
}