ReflectiveOperationException does not exist on Java 1.6.