Changeset 9997 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-03-15T02:16:30+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/CopyList.java
r9231 r9997 183 183 } catch (IndexOutOfBoundsException e) { 184 184 checkForComodification(); 185 throw new NoSuchElementException(e.getMessage());185 throw (NoSuchElementException) new NoSuchElementException(e.getMessage()).initCause(e); 186 186 } 187 187 } -
trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java
r9856 r9997 72 72 return query; 73 73 } catch (NoSuchMethodException e) { 74 throw new IllegalStateException( );74 throw new IllegalStateException(e); 75 75 } catch (ScriptException e) { 76 76 throw new RuntimeException("Failed to execute OverpassTurboQueryWizard", e); 77 77 } 78 78 } 79 80 79 } -
trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java
r9823 r9997 137 137 return XML_DATE.newXMLGregorianCalendar(str).toGregorianCalendar().getTimeInMillis(); 138 138 } catch (Exception ex) { 139 throw new UncheckedParseException("The date string (" + str + ") could not be parsed." );139 throw new UncheckedParseException("The date string (" + str + ") could not be parsed.", ex); 140 140 } 141 141 }
Note: See TracChangeset
for help on using the changeset viewer.