A more extensible WebJobsInvalidStateException whose ctor takes job state.  Then you can use it to throw all kind of states in the future.