Repository: cxf Updated Branches: refs/heads/3.0.x-fixes e525c7701 -> fa6136f83
[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/fa6136f8 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fa6136f8 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fa6136f8 Branch: refs/heads/3.0.x-fixes Commit: fa6136f831ff9c9efe9e3721fa494a32bc07f500 Parents: e525c77 Author: Sergey Beryozkin <[email protected]> Authored: Thu Aug 27 17:40:57 2015 +0100 Committer: Sergey Beryozkin <[email protected]> Committed: Thu Aug 27 17:41:49 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/fa6136f8/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,
