mirror of
https://github.com/google/nomulus
synced 2026-01-06 21:47:31 +00:00
Make "throws" clause use IOException
Now that we've updated the oauth java6 package in the open source build, we can safely replace "Exception" with "IOException" in the throws clause of the method that calls AuthorizationCodeInstalledApp.authorize(). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=156057190
This commit is contained in:
@@ -130,7 +130,7 @@ public class AuthModule {
|
||||
/** Initiate the login flow. */
|
||||
public static void login(
|
||||
GoogleAuthorizationCodeFlow flow,
|
||||
@ClientScopeQualifier String clientScopeQualifier) throws Exception {
|
||||
@ClientScopeQualifier String clientScopeQualifier) throws IOException {
|
||||
new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver())
|
||||
.authorize(clientScopeQualifier);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user