When calling this method, I get a IllegalArgumentException.
public void invoke() throws Exception {
this.method.invoke(this, parameters);
}
where method
is declared in the base class. protected Method method;
I also tried this.method.invoke(this.getClass().newInstance(), parameters);
But none of these work.
Aucun commentaire:
Enregistrer un commentaire