return serviceType.newInstance();
} catch (final NoClassDefFoundError e) {
throw new InstanceCreationClassException("Class found '" + serviceType
+ "', but is missing a dependent class", e);
} catch (final InstantiationException e) {
throw new InstanceCreationException("Could not instantiate an object of class '" + serviceType.getName()
+ "'; " + e.getMessage());
} catch (final IllegalAccessException e) {
throw new InstanceCreationException("Could not access the class '" + serviceType.getName() + "'; "
+ e.getMessage());
}
}