Ignore:
Timestamp:
2014-01-06T16:39:45+01:00 (12 years ago)
Author:
Don-vip
Message:

global replacement of e.printStackTrace() by Main.error(e)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmConnection.java

    r6552 r6643  
    99import java.nio.CharBuffer;
    1010import java.nio.charset.CharacterCodingException;
    11 import java.nio.charset.Charset;
    1211import java.nio.charset.CharsetEncoder;
    1312
     
    4241            HttpURLConnection.setFollowRedirects(true);
    4342        } catch (SecurityException e) {
    44             e.printStackTrace();
     43            Main.error(e);
    4544        }
    4645    }
    4746
     47    /**
     48     * Cancels the connection.
     49     */
    4850    public void cancel() {
    4951        cancel = true;
Note: See TracChangeset for help on using the changeset viewer.