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

Replaced Error throwing to specialized SignatureVerificationException #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ckbo3hrk
Copy link

@ckbo3hrk ckbo3hrk commented Jan 5, 2022

Changes:

Changed Error throwing (#3) to more specialized SignatureVerificationException as catching Error in application code is bad practice.

All JVM errors (like OutOfMemoryError or NoClassDefFoundError) are subclasses of Error and catching Error in application code that uses your library will also catch such JVM errors that can't be handled in a right way.

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.

1 participant