Changeset 3446 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2010-08-19T18:27:48+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r3403 r3446 73 73 if (icon == null) { 74 74 String ext = name.indexOf('.') != -1 ? "" : ".png"; 75 throw new NullPointerException("/images/" + subdir + "/" + name + ext + " not found"); 75 throw new NullPointerException(tr( 76 "Fatal: failed to locate image ''{0}''. This is a serious configuration problem. JOSM will stop working.", 77 imageName+ext)); 76 78 } 77 79 return icon; … … 244 246 return u; 245 247 } 246 System.out247 .println(tr(248 "Fatal: failed to locate image ''{0}''. This is a serious configuration problem. JOSM will stop working.",249 imageName));250 248 return null; 251 249 }
Note:
See TracChangeset
for help on using the changeset viewer.