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);
     }
   }
   


Reply via email to