Project: mule
Issue MULE-7121: OAuth support throws raw exception when authorization code not found
When receiving the Oauth callback an exception of type java.lang.Exception is thrown if no authorization code is found on the response (which is often the case when the user denys authorization). Because the exception is a raw type, there's no way to catch it and take a specific action. A new exception type should be created to that purpose and that exception should be thrown
Story points: 1