Changeset 10101 in josm for trunk/src/org
- Timestamp:
- 2016-04-03T14:54:24+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OverpassDownloadAction.java
r9484 r10101 159 159 overpassQuery.setText(OverpassTurboQueryWizard.getInstance().constructQuery(overpassWizardText)); 160 160 } catch (UncheckedParseException ex) { 161 Main.error(ex); 161 162 HelpAwareOptionPane.showOptionDialog( 162 163 Main.parent, -
trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java
r9997 r10101 62 62 * @throws UncheckedParseException when the parsing fails 63 63 */ 64 public String constructQuery(String search) throws UncheckedParseException{64 public String constructQuery(String search) { 65 65 try { 66 66 final Object result = ((Invocable) engine).invokeFunction("overpassWizard", search); … … 74 74 throw new IllegalStateException(e); 75 75 } catch (ScriptException e) { 76 throw new RuntimeException("Failed to execute OverpassTurboQueryWizard", e);76 throw new UncheckedParseException("Failed to execute OverpassTurboQueryWizard", e); 77 77 } 78 78 }
Note:
See TracChangeset
for help on using the changeset viewer.