* Thrown if factory cannot be found
*/
private IResourceFactory getResourceFactory(final Application application,
final String factoryName)
{
final IResourceFactory factory = application.getResourceSettings().getResourceFactory(
factoryName);
// Found factory?
if (factory == null)
{