You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by jo...@apache.org on 2010/05/10 23:26:59 UTC

svn commit: r942910 - /shindig/trunk/java/common/src/main/java/org/apache/shindig/auth/OAuthUtil.java

Author: johnh
Date: Mon May 10 21:26:59 2010
New Revision: 942910

URL: http://svn.apache.org/viewvc?rev=942910&view=rev
Log:
UriSyntaxException treated as a checked, rather than runtime, exception.


Modified:
    shindig/trunk/java/common/src/main/java/org/apache/shindig/auth/OAuthUtil.java

Modified: shindig/trunk/java/common/src/main/java/org/apache/shindig/auth/OAuthUtil.java
URL: http://svn.apache.org/viewvc/shindig/trunk/java/common/src/main/java/org/apache/shindig/auth/OAuthUtil.java?rev=942910&r1=942909&r2=942910&view=diff
==============================================================================
--- shindig/trunk/java/common/src/main/java/org/apache/shindig/auth/OAuthUtil.java (original)
+++ shindig/trunk/java/common/src/main/java/org/apache/shindig/auth/OAuthUtil.java Mon May 10 21:26:59 2010
@@ -76,7 +76,7 @@ public class OAuthUtil {
     } catch (IOException e) {
       throw new RuntimeException(e);
     } catch (URISyntaxException e) {
-      throw new RuntimeException(e);
+      throw new OAuthException(e);
     }
   }