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

Deprecate unused exception types #1920

Merged
merged 2 commits into from Nov 2, 2021

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

There are a few custom exception types that were used in the past, but
became unusable after some refactoring. It's safe to deprecate them and
remove in future releases.

Modifications:

  • Deprecate ConnectionClosedException, InvalidRedirectException
    MaxRequestLimitExceededException,
    MaxRequestLimitExceededRejectedSubscribeException;

Result:

All unused exception types are deprecated now.

Motivation:

There are a few custom exception types that were used in the past, but
became unusable after some refactoring. It's safe to deprecate them and
remove in future releases.

Modifications:

- Deprecate `ConnectionClosedException`, `InvalidRedirectException`
`MaxRequestLimitExceededException`,
`MaxRequestLimitExceededRejectedSubscribeException`;

Result:

All unused exception types are deprecated now.
idelpivnitskiy added a commit to idelpivnitskiy/servicetalk that referenced this pull request Oct 29, 2021
Motivation:

There are a few custom exception types that are unused and were
deprecated in apple#1920. We can remove them now.

Modifications:

- Remove `ConnectionClosedException`, `InvalidRedirectException`
`MaxRequestLimitExceededException`,
`MaxRequestLimitExceededRejectedSubscribeException`;

Result:

No unused exception types.
@idelpivnitskiy idelpivnitskiy merged commit 42c96ff into apple:main Nov 2, 2021
@idelpivnitskiy idelpivnitskiy deleted the deprecate-ex branch November 2, 2021 21:49
idelpivnitskiy added a commit that referenced this pull request Nov 2, 2021
Motivation:

There are a few custom exception types that were used in the past but
became unusable after some refactoring. It's safe to deprecate them and
remove in future releases.

Modifications:

- Deprecate `ConnectionClosedException`, `InvalidRedirectException`
`MaxRequestLimitExceededException`,
`MaxRequestLimitExceededRejectedSubscribeException`;
- Avoid using deprecated exceptions in tests;

Result:

All unused exception types are deprecated now.
idelpivnitskiy added a commit to idelpivnitskiy/servicetalk that referenced this pull request Nov 2, 2021
Motivation:

There are a few custom exception types that are unused and were
deprecated in apple#1920. We can remove them now.

Modifications:

- Remove `ConnectionClosedException`, `InvalidRedirectException`
`MaxRequestLimitExceededException`,
`MaxRequestLimitExceededRejectedSubscribeException`;

Result:

No unused exception types.
idelpivnitskiy added a commit that referenced this pull request Nov 2, 2021
Motivation:

There are a few custom exception types that are unused and were
deprecated in #1920. We can remove them now.

Modifications:

- Remove `ConnectionClosedException`, `InvalidRedirectException`
`MaxRequestLimitExceededException`,
`MaxRequestLimitExceededRejectedSubscribeException`;

Result:

No unused exception types.
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

Successfully merging this pull request may close these issues.

None yet

2 participants