Index: /trunk/src/org/openstreetmap/josm/actions/JumpToAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/JumpToAction.java	(revision 5779)
+++ /trunk/src/org/openstreetmap/josm/actions/JumpToAction.java	(revision 5780)
@@ -114,5 +114,5 @@
                 zoomLvl = Double.parseDouble(zm.getText());
                 ll = new LatLon(Double.parseDouble(lat.getText()), Double.parseDouble(lon.getText()));
-            } catch (Exception ex) {
+            } catch (NumberFormatException ex) {
                 JOptionPane.showMessageDialog(Main.parent, tr("Could not parse Latitude, Longitude or Zoom. Please check."), tr("Unable to parse Lon/Lat"), JOptionPane.ERROR_MESSAGE);
             }
Index: /trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java	(revision 5779)
+++ /trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java	(revision 5780)
@@ -150,5 +150,5 @@
      */
     public SequenceCommand simplifyWay(Way w, DataSet ds) {
-        double threshold = Double.parseDouble(Main.pref.get("simplify-way.max-error", "3"));
+        double threshold = Main.pref.getDouble("simplify-way.max-error", "3");
         int lower = 0;
         int i = 0;
