* it is every other state.
*
* @return void
- * @throws InvalidStateException If the state is not 'active'
+ * @throws UnexpectedStateException If the state is not 'active'
*/
public function validateCruncherStateIsActive () {
// Just compare it...
if (!$this instanceof CruncherActiveState) {
// Throw the exception
- throw new InvalidStateException($this, self::EXCEPTION_INVALID_STATE);
+ throw new UnexpectedStateException($this, self::EXCEPTION_INVALID_STATE);
} // END - if
}