Skip to content

DEVEXP-469 Optimistic locking failures now throw concrete exceptions #1590

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

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Aug 22, 2023

Users no longer need to parse out exception messages. And now TestOptimisticLocking doesn't need to either, which allowed me to delete a bunch of code from it in favor of asserting on specific exception classes.

This is a non-breaking change as the new exceptions are subclasses of FailedRequestException and contain the same error message.

BillFarber
BillFarber previously approved these changes Aug 22, 2023
Users no longer need to parse out exception messages. And now `TestOptimisticLocking` doesn't need to either, which allowed me to delete a bunch of code from it in favor of asserting on specific exception classes. 

This is a non-breaking change as the new exceptions are subclasses of `FailedRequestException` and contain the same error message.
@rjrudin rjrudin merged commit 6cf0b16 into develop Aug 22, 2023
@rjrudin rjrudin deleted the feature/469-optimistic branch August 22, 2023 17:43
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.

2 participants