[ https://issues.apache.org/jira/browse/OLTU-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876491#comment-13876491 ]
Antonio Sargento commented on OLTU-135: --------------------------------------- A simple solution for this issue is putting the return statement outside the *try catch block*. I tried this in a HttpClient extension class and work perfectly. > OAuthProblemException are not propagates correctly in classe HttpClient4 > ------------------------------------------------------------------------ > > Key: OLTU-135 > URL: https://issues.apache.org/jira/browse/OLTU-135 > Project: Apache Oltu > Issue Type: Bug > Components: oauth2-httpclient4 > Affects Versions: 0.31 > Reporter: Antonio Sargento > Priority: Minor > > The HttpClient4 class has a try catch block that caches all Exceptions and > transforms them into OAuthSystemException. > Well, the OAuthProblemException are transformed too, which means that it is > not possible to propagate these kind of exceptions. -- This message was sent by Atlassian JIRA (v6.1.5#6160)