From 5ff56ac7a04acf63646a076d6d8c438606b65df7 Mon Sep 17 00:00:00 2001 From: mmuller Date: Mon, 15 May 2017 08:36:20 -0700 Subject: [PATCH] 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 --- java/google/registry/tools/AuthModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/google/registry/tools/AuthModule.java b/java/google/registry/tools/AuthModule.java index ac91335eb..114102d75 100644 --- a/java/google/registry/tools/AuthModule.java +++ b/java/google/registry/tools/AuthModule.java @@ -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); }