IllegalArgumentException / IllegalStateException
Also written: IllegalArgumentException, IllegalStateException
Exceptions raised by your own checks: `require` raises IllegalArgumentException for a bad value, and `check` raises IllegalStateException for a bad program state.