-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Use IllegalStateException to replace invalid JedisDataException #2393
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
Conversation
- Pipeline and Transaction related exceptions, which do not come from Redis, are changed to throw JedisBatchOperationException. - SafeEncoder is changed to throw JedisException. Based on discussions in redis#1183
mp911de
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
|
A thought on backward-compatibility: These exceptions aren't really ones where an application can recover from, especially when trying to send |
Reference #2360 (comment)
Closes #2360
Closes #1733