Changeset 12656 in josm for trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
- Timestamp:
- 2017-08-26T00:40:19+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r12643 r12656 46 46 import org.openstreetmap.josm.actions.JosmAction; 47 47 import org.openstreetmap.josm.actions.ParameterizedAction; 48 import org.openstreetmap.josm.actions.search.SearchCompiler.ParseError;49 48 import org.openstreetmap.josm.data.osm.DataSet; 50 49 import org.openstreetmap.josm.data.osm.Filter; 51 50 import org.openstreetmap.josm.data.osm.OsmPrimitive; 51 import org.openstreetmap.josm.data.osm.search.SearchParseError; 52 import org.openstreetmap.josm.data.osm.search.SearchCompiler; 52 53 import org.openstreetmap.josm.gui.ExtendedDialog; 53 54 import org.openstreetmap.josm.gui.MainApplication; … … 380 381 SearchCompiler.compile(ss); 381 382 return true; 382 } catch ( ParseError | MapCSSException e) {383 } catch (SearchParseError | MapCSSException e) { 383 384 return false; 384 385 } … … 418 419 SearchCompiler.compile(ss); 419 420 super.buttonAction(buttonIndex, evt); 420 } catch ( ParseError e) {421 } catch (SearchParseError e) { 421 422 Logging.debug(e); 422 423 JOptionPane.showMessageDialog( … … 828 829 } 829 830 subMonitor.finishTask(); 830 } catch ( ParseError e) {831 } catch (SearchParseError e) { 831 832 Logging.debug(e); 832 833 JOptionPane.showMessageDialog(
Note:
See TracChangeset
for help on using the changeset viewer.