Raise an exception so the state knows what happened