Ignore:
Timestamp:
2008-08-18T16:47:03+02:00 (17 years ago)
Author:
stoecker
Message:

fixed build of two more modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/waypoints/src/WaypointOpenAction.java

    r1495 r9949  
    1414import javax.swing.JFileChooser;
    1515import javax.swing.JOptionPane;
     16
     17import javax.xml.parsers.ParserConfigurationException;
    1618
    1719import org.openstreetmap.josm.Main;
     
    3638
    3739        public void actionPerformed(ActionEvent e) {
    38                 JFileChooser fc = createAndOpenFileChooser(true, true);
     40                JFileChooser fc = createAndOpenFileChooser(true, true, null);
    3941                if (fc == null)
    4042                        return;
     
    5860                        JOptionPane.showMessageDialog(Main.parent,
    5961                                        tr("Error while parsing {0}",fn)+": "+x.getMessage());
     62                } catch (ParserConfigurationException x) {
     63                        x.printStackTrace(); // broken SAXException chaining
     64                        JOptionPane.showMessageDialog(Main.parent,
     65                                        tr("Error while parsing {0}",fn)+": "+x.getMessage());
    6066                } catch (IOException x) {
    6167                        x.printStackTrace();
Note: See TracChangeset for help on using the changeset viewer.