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

refactor: avoid throwing InterruptedException directly #38

Merged

Conversation

racevedoo
Copy link
Collaborator

InterruptedException is meant to be thrown when a thread is interrupted.
This changes some places where it was being used to indicate config
errors or IO errors to more appropriate exceptions.

InterruptedException is meant to be thrown when a thread is interrupted.
This changes some places where it was being used to indicate config
errors or IO errors to more appropriate exceptions.
@racevedoo
Copy link
Collaborator Author

@ismailsimsek is there any reason to use InterruptedException directly? I took the liberty to change it

@ismailsimsek
Copy link
Member

no reason i remember of, it looks good to me

@ismailsimsek ismailsimsek merged commit 6dbee1a into memiiso:master Oct 20, 2021
@ismailsimsek
Copy link
Member

merged tank you @racevedoo

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