Skip to content

Throw InvalidKeyException and InvalidParameterException instead of IllegalArgumentException #124

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 2 commits into from
Feb 15, 2025

Conversation

05nelsonm
Copy link
Member

Closes #112

Digest and Mac constructors now throw InvalidParameterException instead of IllegalArgumentException

Mac.Engine constructors and Mac.reset(newKey) now throw InvalidKeyException instead of IllegalArgumentException.

@05nelsonm 05nelsonm self-assigned this Feb 15, 2025
@05nelsonm 05nelsonm merged commit 816bb91 into master Feb 15, 2025
14 checks passed
@05nelsonm 05nelsonm deleted the issue/112-exceptions branch February 15, 2025 10:10
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.

Throw InvalidKeyException instead of IllegalArgumentException
1 participant