title: Can throwing Exception be a good way to handle all of the exceptions that are thrown in Java's reflection API?
body: <p>I find that Java's reflection API is exception verbose, and I often want to catch each specific exception, but just throw Exception. Is this poor practice, or do you really throw all of those exceptions on the method signature? Every method that calls that method must then deal with each of those specific exceptions in some way. Instead, I'm thinking of doing this:</p>
  
  <pre><code>public void someMethod()
          throws Exception {
  
      try {
  
          // do a bunch of reflection...
  
      } catch(ClassCastException classCastException) {
  
          throw new Exception("Some specific message.", classCastException);
  
      } catch(InvocationTargetException invocationTargetException) {
  
          throw new Exception("Some specific message.", invocationTargetException);
  
      }
  }
  </code></pre>
  
  <p>Is that poor practice?</p>