#516 Report invalid values for enums through parser error handler #525

Merged
merged 1 commit into from Dec 10, 2016

Conversation

Projects
None yet
3 participants
@lawley
Contributor

lawley commented Dec 6, 2016

This patch catches the low-level IllegalArgumentException from the model code and instead reports an invalidValue through the parser's error handler.
Unit test included

@coveralls

This comment has been minimized.

Show comment
Hide comment
@coveralls

coveralls Dec 6, 2016

Coverage Status

Coverage increased (+0.001%) to 87.681% when pulling a9a3507 on aehrc:feature/parser_exception_handling into e8fad33 on jamesagnew:master.

Coverage Status

Coverage increased (+0.001%) to 87.681% when pulling a9a3507 on aehrc:feature/parser_exception_handling into e8fad33 on jamesagnew:master.

jamesagnew added a commit that referenced this pull request Dec 10, 2016

@jamesagnew jamesagnew merged commit 0def3d5 into jamesagnew:master Dec 10, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.001%) to 87.681%
Details
@jamesagnew

This comment has been minimized.

Show comment
Hide comment
@jamesagnew

jamesagnew Dec 10, 2016

Owner

Thanks for the contribution!

Owner

jamesagnew commented Dec 10, 2016

Thanks for the contribution!

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