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

Exception if no generator #2

Open
matthieu-vergne opened this issue May 26, 2014 · 0 comments
Open

Exception if no generator #2

matthieu-vergne opened this issue May 26, 2014 · 0 comments

Comments

@matthieu-vergne
Copy link
Owner

Rather than logging that no generator is available to compute in incubate(), which is a case not supposed to happen in general (unless badly configured), prefer to throw an exception. Moreover, it corresponds to the case where no evolution occurs, thus we can remove the hasEvolved() method, which is just some sugar.

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