return type.newInstance();
}
catch( ClassNotFoundException exception )
{
throw new CascadingException( "unable to load class: " + className.toString(), exception );
}
catch( InstantiationException exception )
{
throw new CascadingException( "unable to instantiate class: " + className.toString(), exception );
}
catch( IllegalAccessException exception )
{
throw new CascadingException( "unable to access class: " + className.toString(), exception );
}
}