throw exception on unknown operatoin