Changeset 10212 in josm for trunk/src/org/openstreetmap/josm/data/AutosaveTask.java
- Timestamp:
- 2016-05-15T00:51:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/AutosaveTask.java
r10043 r10212 165 165 try (PrintStream ps = new PrintStream(pidFile, "UTF-8")) { 166 166 ps.println(ManagementFactory.getRuntimeMXBean().getName()); 167 } catch ( Exception t) {167 } catch (IOException | SecurityException t) { 168 168 Main.error(t); 169 169 } … … 213 213 displayNotification(); 214 214 } 215 } catch ( Exception t) {215 } catch (RuntimeException t) { 216 216 // Don't let exception stop time thread 217 217 Main.error("Autosave failed:"); … … 312 312 skipFile = jvmPerfDataFileExists(pid); 313 313 } 314 } catch ( Exception t) {314 } catch (IOException | SecurityException t) { 315 315 Main.error(t); 316 316 }
Note:
See TracChangeset
for help on using the changeset viewer.