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

Add KiwiMaps methods to get a non-null value or throw an exception #1097

Merged
merged 8 commits into from
Jan 13, 2024

Conversation

sleberknight
Copy link
Member

  • Add getOrThrow that accepts a map and key
  • Add getOrThrow that accepts a map, key, and RuntimeException supplier
  • Add getOrThrowChecked that accepts a map, key, and Exception supplier

Closes #1094

@sleberknight sleberknight self-assigned this Jan 13, 2024
Copy link

@sleberknight sleberknight marked this pull request as ready for review January 13, 2024 21:27
@sleberknight sleberknight merged commit 5114458 into master Jan 13, 2024
5 checks passed
@sleberknight sleberknight deleted the 1094-KiwiMaps-getOrThrow branch January 13, 2024 21:28
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.

Add KiwiMaps methods to get a non-null value or throw an exception
2 participants