e.printStackTrace();
throw new EnMeOAuthSecurityException(e);
} catch (HttpClientErrorException e) {
// normally if the social credentials are wrong
e.printStackTrace();
throw new EnMeBadCredentialsException(e.getMessage());
} catch (Exception e) {
// another kind of error, possible wrong configuration
//TODO : only happends with twitter
e.printStackTrace();
throw new EnMeBadCredentialsException(e.getMessage());
}
return new OAuth1Token(responseMap.get("oauth_token"), responseMap.get("oauth_token_secret"));
}