Index: trunk/src/org/openstreetmap/josm/gui/MainApplication.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 12886)
+++ trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 12887)
@@ -151,4 +151,5 @@
 import org.openstreetmap.josm.tools.I18n;
 import org.openstreetmap.josm.tools.ImageProvider;
+import org.openstreetmap.josm.tools.JosmRuntimeException;
 import org.openstreetmap.josm.tools.Logging;
 import org.openstreetmap.josm.tools.OpenBrowser;
@@ -1091,5 +1092,5 @@
                     UIManager.put("FileChooser.useSystemExtensionHiding", Boolean.FALSE);
                 }
-            } catch (NumberFormatException | ReflectiveOperationException e) {
+            } catch (NumberFormatException | ReflectiveOperationException | JosmRuntimeException e) {
                 Logging.error(e);
             }
Index: trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java	(revision 12886)
+++ trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java	(revision 12887)
@@ -310,5 +310,5 @@
             }
             sb.append(" (").append(getCurrentBuild()).append(')');
-        } catch (ReflectiveOperationException e) {
+        } catch (ReflectiveOperationException | JosmRuntimeException e) {
             Logging.error(e);
         }
Index: trunk/src/org/openstreetmap/josm/tools/WinRegistry.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/WinRegistry.java	(revision 12886)
+++ trunk/src/org/openstreetmap/josm/tools/WinRegistry.java	(revision 12887)
@@ -63,5 +63,5 @@
             regEnumKeyEx = userClass.getDeclaredMethod("WindowsRegEnumKeyEx", int.class, int.class, int.class);
             Utils.setObjectsAccessible(regOpenKey, regCloseKey, regQueryValueEx, regEnumValue, regQueryInfoKey, regEnumKeyEx);
-        } catch (SecurityException | ReflectiveOperationException e) {
+        } catch (RuntimeException | ReflectiveOperationException e) {
             throw new JosmRuntimeException(e);
         }
