throw an Exception if no command added to a CommandStack