Throw exception if edit session is not started