Need to unwrap exception before checking for security exception

As is the instanceof SecurityException is useless since reflection invocation will likely be wrapped in InvocationTargetException