Changeset 18634 in josm for trunk/src/org
- Timestamp:
- 2023-01-16T16:52:10+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/ImageMarker.java
r18613 r18634 5 5 6 6 import java.awt.event.ActionEvent; 7 import java.io.UncheckedIOException; 7 8 import java.net.URI; 8 9 import java.net.URISyntaxException; … … 67 68 } catch (URISyntaxException e) { 68 69 Logging.trace(e); 69 new Notification(tr("Malformed URI: ", this.imageUrl.toExternalForm())).setIcon(JOptionPane.WARNING_MESSAGE).show(); 70 new Notification(tr("Malformed URI: {0}", this.imageUrl.toExternalForm())).setIcon(JOptionPane.WARNING_MESSAGE).show(); 71 } catch (UncheckedIOException e) { 72 Logging.trace(e); 73 new Notification(tr("IO Exception: {0}\n{1}", this.imageUrl.toExternalForm(), e.getCause().getMessage())) 74 .setIcon(JOptionPane.WARNING_MESSAGE).show(); 70 75 } 71 76 return null;
Note:
See TracChangeset
for help on using the changeset viewer.