Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuthTokenRequestException missing method getFaultInfo #118

Open
ghost opened this issue Oct 6, 2020 · 0 comments
Open

OAuthTokenRequestException missing method getFaultInfo #118

ghost opened this issue Oct 6, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 6, 2020

The ExampleExceptionHelper does not seem to handle OAuthTokenRequestException. The error NoSuchMethodException is thrown in ExampleExceptionHelper.java on line 23:

// All Bing Ads exceptions have a getFaultInfo method.
Method getFaultInfoMethod = exception.getClass().getDeclaredMethod("getFaultInfo", new Class[]{});

The assumption that all Bing Ads exceptions have getFaultInfo is incorrect and is causing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants