Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.27 seconds.

  1. Re: Pros and Cons of Listeners vs Method invocation through Reflection

    Um, no, no, and no.
    First, Class.getMethod() throws NoSuchMethodException, SecurityException, AND NullPointerException. And Method.invoke() throws IllegalAccessException, IllegalArgumentException,...
  2. Re: Pros and Cons of Listeners vs Method invocation through Reflection

    Copeg is spot on. Only use Reflection when absolutely necessary (there are cases, but they are rare). Reflection can lead to seemingly random and inconsistent runtime errors, which we all know is the...
Results 1 to 2 of 2