throw as soon as we find out a class is not found

currently if a class is not found and it has a package definition the exception is not thrown and instead you get an NPE when you try to use the invalid class (clazz is still null at line CreateObject.java:167).

added at line 164:

    else throw ce;

to throw as soon as we find out that the class is not found