Changeset 12887 in josm
- Timestamp:
- 2017-09-22T16:13:52+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r12886 r12887 151 151 import org.openstreetmap.josm.tools.I18n; 152 152 import org.openstreetmap.josm.tools.ImageProvider; 153 import org.openstreetmap.josm.tools.JosmRuntimeException; 153 154 import org.openstreetmap.josm.tools.Logging; 154 155 import org.openstreetmap.josm.tools.OpenBrowser; … … 1091 1092 UIManager.put("FileChooser.useSystemExtensionHiding", Boolean.FALSE); 1092 1093 } 1093 } catch (NumberFormatException | ReflectiveOperationException e) {1094 } catch (NumberFormatException | ReflectiveOperationException | JosmRuntimeException e) { 1094 1095 Logging.error(e); 1095 1096 } -
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r12856 r12887 310 310 } 311 311 sb.append(" (").append(getCurrentBuild()).append(')'); 312 } catch (ReflectiveOperationException e) {312 } catch (ReflectiveOperationException | JosmRuntimeException e) { 313 313 Logging.error(e); 314 314 } -
trunk/src/org/openstreetmap/josm/tools/WinRegistry.java
r12279 r12887 63 63 regEnumKeyEx = userClass.getDeclaredMethod("WindowsRegEnumKeyEx", int.class, int.class, int.class); 64 64 Utils.setObjectsAccessible(regOpenKey, regCloseKey, regQueryValueEx, regEnumValue, regQueryInfoKey, regEnumKeyEx); 65 } catch ( SecurityException | ReflectiveOperationException e) {65 } catch (RuntimeException | ReflectiveOperationException e) { 66 66 throw new JosmRuntimeException(e); 67 67 }
Note:
See TracChangeset
for help on using the changeset viewer.