Ignore:
Timestamp:
2017-08-26T00:40:19+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - move SearchCompiler from actions.search to data.osm.search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r12643 r12656  
    4646import org.openstreetmap.josm.actions.JosmAction;
    4747import org.openstreetmap.josm.actions.ParameterizedAction;
    48 import org.openstreetmap.josm.actions.search.SearchCompiler.ParseError;
    4948import org.openstreetmap.josm.data.osm.DataSet;
    5049import org.openstreetmap.josm.data.osm.Filter;
    5150import org.openstreetmap.josm.data.osm.OsmPrimitive;
     51import org.openstreetmap.josm.data.osm.search.SearchParseError;
     52import org.openstreetmap.josm.data.osm.search.SearchCompiler;
    5253import org.openstreetmap.josm.gui.ExtendedDialog;
    5354import org.openstreetmap.josm.gui.MainApplication;
     
    380381                    SearchCompiler.compile(ss);
    381382                    return true;
    382                 } catch (ParseError | MapCSSException e) {
     383                } catch (SearchParseError | MapCSSException e) {
    383384                    return false;
    384385                }
     
    418419                        SearchCompiler.compile(ss);
    419420                        super.buttonAction(buttonIndex, evt);
    420                     } catch (ParseError e) {
     421                    } catch (SearchParseError e) {
    421422                        Logging.debug(e);
    422423                        JOptionPane.showMessageDialog(
     
    828829                }
    829830                subMonitor.finishTask();
    830             } catch (ParseError e) {
     831            } catch (SearchParseError e) {
    831832                Logging.debug(e);
    832833                JOptionPane.showMessageDialog(
Note: See TracChangeset for help on using the changeset viewer.