+ secret + "', '" + callback + "'"
+ ", " + (scopes != null ? "'" + scopes[0] + "'" : null)
+ ", " + (permissions != null ? "'" + permissions[0] + "'" : null)
+ ")");
return new OAuthRequestToken(token, secret, callback,
scopes, permissions, -1, getConsumer(consumerKey));
} catch (SQLException ex) {
throw new OAuthException(HttpURLConnection.HTTP_UNAUTHORIZED,
"Request token for the consumer with key " + consumerKey + " can not be created");
}