Changeset 9949 in osm for applications/editors/josm/plugins/waypoints/src/WaypointOpenAction.java
- Timestamp:
- 2008-08-18T16:47:03+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/waypoints/src/WaypointOpenAction.java
r1495 r9949 14 14 import javax.swing.JFileChooser; 15 15 import javax.swing.JOptionPane; 16 17 import javax.xml.parsers.ParserConfigurationException; 16 18 17 19 import org.openstreetmap.josm.Main; … … 36 38 37 39 public void actionPerformed(ActionEvent e) { 38 JFileChooser fc = createAndOpenFileChooser(true, true); 40 JFileChooser fc = createAndOpenFileChooser(true, true, null); 39 41 if (fc == null) 40 42 return; … … 58 60 JOptionPane.showMessageDialog(Main.parent, 59 61 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()); 60 66 } catch (IOException x) { 61 67 x.printStackTrace();
Note:
See TracChangeset
for help on using the changeset viewer.
