title: Java reflection and checked exceptions
body: <p>I have a method which I would like to call via reflection.
  The method does some various checks on its arguments and can throw NullPointer and IllegalArgument exceptions.</p>
  
  <p>Calling the method via Reflection also can throw IllegalArgument and NullPointer exceptions which need to be caught. Is there a way to determine whether the exception is caused by the reflection Invoke method, or by the method itself?</p>