com.sun.jna.platform.win32.Win32Exception: Access denied
<p>Right now, I'm trying to read the Windows Registry using the  com.sun.jna.platform.win32 library in Java. When the program is executed, it reads a lot of keys and values, but at some point, the program throws an exception that says: "com.sun.jna.platform.win32.Win32Exception: Access denied". Is there any way to skip this exception and continue reading the rest of keys and values of the registry?</p>

<p>Thanks.</p>