Changeset 23747 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-10-22T15:53:08+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java
r23191 r23747 29 29 30 30 import static org.openstreetmap.josm.tools.I18n.tr; 31 31 32 32 33 import javax.swing.ImageIcon; … … 189 190 } 190 191 } catch (Exception e) { 191 JOptionPane.showMessageDialog(Main.parent, e.getMessage()); 192 if (e instanceof java.net.UnknownHostException) { 193 String message = String.format(tr("Unknown Host: %s - Possibly there is no connection to the Internet.") 194 , e.getMessage()); 195 JOptionPane.showMessageDialog(Main.parent, message); 196 } else { 197 JOptionPane.showMessageDialog(Main.parent, e.getMessage()); 198 } 192 199 e.printStackTrace(); 193 200 }
Note:
See TracChangeset
for help on using the changeset viewer.