Azure / Azure/azure-sdk-for-java

[OpenRewrite] HttpRequestException and AzureException to RuntimeException

Open
#44,105 0 comments 0 reactions 0 assignees View on GitHub
OpenRewrite
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 7h
Merged PRs (30d)
211

Description

```java
io.clientcore.core.http.exception.HttpResponseException
```
#
OpenRewrite:

* try / catch for `HttpRequestException` -> `RuntimeException`
* try / catch for `AzureException` -> `RuntimeException`
#
[Created from ApiView comment](https://apiviewstagingtest.com/Assemblies/Review/a942efaee0a3482b86ceb2bf05cb03db/8d0df3720a9d4a1aa1eea74bf2dabc0b%23io.clientcore.core.http.exception.HttpResponseException)

Contributor guide

Open the contributing guide

Research direction

Start with the linked ApiView comment for io.clientcore.core.http.exception.HttpResponseException, then search the repository for HttpRequestException and AzureException catch blocks. Confirm which SDK modules are affected and identify the existing tests for those exception paths. Done means the specified catches consistently use RuntimeException and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.