Changeset 6643 in josm for trunk/src/org/openstreetmap/josm/io/imagery
- Timestamp:
- 2014-01-06T16:39:45+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/imagery
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/Grabber.java
r6313 r6643 70 70 } 71 71 if(i == maxTries) { 72 e.printStackTrace();72 Main.error(e); 73 73 request.finish(State.FAILED, null); 74 74 } -
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r6552 r6643 15 15 import javax.xml.parsers.SAXParserFactory; 16 16 17 import org.openstreetmap.josm.Main; 17 18 import org.openstreetmap.josm.data.imagery.ImageryInfo; 18 19 import org.openstreetmap.josm.data.imagery.ImageryInfo.ImageryBounds; … … 21 22 import org.openstreetmap.josm.io.MirroredInputStream; 22 23 import org.openstreetmap.josm.io.UTFInputStreamReader; 23 import org.openstreetmap.josm.tools.Utils;24 24 import org.xml.sax.Attributes; 25 25 import org.xml.sax.InputSource; … … 59 59 throw e; 60 60 } catch (ParserConfigurationException e) { 61 e.printStackTrace(); // broken SAXException chaining61 Main.error(e); // broken SAXException chaining 62 62 throw new SAXException(e); 63 63 } -
trunk/src/org/openstreetmap/josm/io/imagery/WMSGrabber.java
r6248 r6643 72 72 73 73 } catch(Exception e) { 74 e.printStackTrace();75 throw new Exception(e.getMessage() + "\nImage couldn't be fetched: " + (url != null ? url.toString() : "") );74 Main.error(e); 75 throw new Exception(e.getMessage() + "\nImage couldn't be fetched: " + (url != null ? url.toString() : ""), e); 76 76 } 77 77 }
Note:
See TracChangeset
for help on using the changeset viewer.