cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6561] Minor update
Date Thu, 27 Aug 2015 16:41:14 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 8c5e1fb7c -> d322272a5


[CXF-6561] Minor update


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/d322272a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d322272a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d322272a

Branch: refs/heads/master
Commit: d322272a517272e9f87e3db1163b5e65386f7ef8
Parents: 8c5e1fb
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Aug 27 17:40:57 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Aug 27 17:40:57 2015 +0100

----------------------------------------------------------------------
 .../rs/security/oauth2/grants/owner/ResourceOwnerGrantHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/d322272a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/owner/ResourceOwnerGrantHandler.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/owner/ResourceOwnerGrantHandler.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/owner/ResourceOwnerGrantHandler.java
index 58718b8..f15fc7f 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/owner/ResourceOwnerGrantHandler.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/owner/ResourceOwnerGrantHandler.java
@@ -55,7 +55,7 @@ public class ResourceOwnerGrantHandler extends AbstractGrantHandler {
             }
         } catch (OAuthServiceException ex) { 
             throw ex;
-        } catch (Exception ex) { 
+        } catch (RuntimeException ex) { 
             throw new OAuthServiceException(OAuthConstants.INVALID_GRANT, ex);
         }
         return doCreateAccessToken(client, 


Mime
View raw message