/**
* Creates the new instance using reflection on niladic constructor
*/
private JavaSpec instantiate(Class<? extends JavaSpec> specClass) {
try {
JavaSpec createdInstance = specClass.newInstance();
return createdInstance;
} catch( SecurityException e){
throw new SpecException("Security forbids instantiation for spec["+specClass+"]",e);
} catch( ExceptionInInitializerError e){
throw new SpecException("Constructor failed for new spec["+specClass+"] instance", e);