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

Throw custom Exception when too many empty sets were iterated #138

Open
dmfs opened this issue May 18, 2024 · 1 comment
Open

Throw custom Exception when too many empty sets were iterated #138

dmfs opened this issue May 18, 2024 · 1 comment

Comments

@dmfs
Copy link
Owner

dmfs commented May 18, 2024

At present it's difficult to distinguish the IllegalArgumentExceptions thrown due to too many empty recurrence sets from others (also see #137). We could use a custom subclass that we can catch to handle those cases separately.

@dmfs
Copy link
Owner Author

dmfs commented May 21, 2024

Looks like in all but one place an IllegalArgumentException is thrown. This will be a breaking change for people who catch the IllegalStateException thrown by BySetPos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant