Replacing ReflectiveOperationException for JDK6

Java 6 doesn't support ReflectiveOperationException (which was added in
Java 7). This commit replaces that exception with the somewhat uglier
combination of IllegalAccessException, InvocationTargetException,
ClassNotFoundException and NoSuchMethodException.