Need to unwrap exception before checking for security exception

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