PatienceIsAVirtue.
And if you would have listened to Jesper you would have seen an InstantiationException occurred on line 13 when you tried to create the instance. The reason is very clear: newInstance() tries to invoke the constructor that has no arguments. However, your class does not have such a constructor. The only constructor requires a
String. That means that you must use java.lang.reflect.Constructor to create the instance.