Ignore:
Timestamp:
2016-05-17T02:20:12+02:00 (4 years ago)
Author:
Don-vip
Message:

sonar - squid:S1166 - Exception handlers should preserve the original exception

File:
1 edited

Legend:

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

    r9353 r10237  
    1717import java.util.concurrent.FutureTask;
    1818
     19import javax.swing.SwingUtilities;
     20
    1921import org.openstreetmap.josm.Main;
    2022import org.openstreetmap.josm.data.oauth.OAuthParameters;
     
    2628import org.openstreetmap.josm.tools.Base64;
    2729import org.openstreetmap.josm.tools.HttpClient;
     30import org.openstreetmap.josm.tools.Utils;
    2831
    2932import oauth.signpost.OAuthConsumer;
    3033import oauth.signpost.exception.OAuthException;
    31 import org.openstreetmap.josm.tools.Utils;
    32 
    33 import javax.swing.SwingUtilities;
    3434
    3535/**
     
    151151            }
    152152        } catch (MalformedURLException | InterruptedException | InvocationTargetException e) {
    153             throw new MissingOAuthAccessTokenException();
     153            throw new MissingOAuthAccessTokenException(e);
    154154        }
    155155    }
Note: See TracChangeset for help on using the changeset viewer.