Skip to content

add ResourceBodyNotFoundException#5685

Closed
mssfang wants to merge 1 commit into
Azure:masterfrom
mssfang:ResourceBodyNotFoundException
Closed

add ResourceBodyNotFoundException#5685
mssfang wants to merge 1 commit into
Azure:masterfrom
mssfang:ResourceBodyNotFoundException

Conversation

@mssfang
Copy link
Copy Markdown
Contributor

@mssfang mssfang commented Oct 4, 2019

Add ResourceBodyNotFoundException for Response with status code 304 but access response.getValue() will return ResourceBodyNotFoundException

@mssfang mssfang added Client This issue points to a problem in the data-plane of the library. App Configuration Azure.ApplicationModel.Configuration Azure.Core azure-core labels Oct 4, 2019
@mssfang mssfang self-assigned this Oct 4, 2019
@mssfang mssfang requested a review from JonathanGiles October 4, 2019 00:03
Copy link
Copy Markdown
Member

@JonathanGiles JonathanGiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this exception really necessary? Could people instead catch 'HttpResponseException' and check the status code directly from there?

@mssfang
Copy link
Copy Markdown
Contributor Author

mssfang commented Oct 4, 2019

Thanks for your feedback. Agreed with your options. HttpResponseException will be sufficient. Will close this PR without merged.

@mssfang mssfang closed this Oct 4, 2019
@mssfang mssfang deleted the ResourceBodyNotFoundException branch March 9, 2021 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App Configuration Azure.ApplicationModel.Configuration Azure.Core azure-core Client This issue points to a problem in the data-plane of the library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants