def addObjectById(self, id, objectDefinition):
        if id in self.objectIdCache_:
            raise MalformedMessageException("ObjectID already defined")

        self.objectIdCache_[id] = objectDefinition
        self.objectIdList_.append(id)
dataset/ETHPy150Open ufora/ufora/ufora/BackendGateway/SubscribableWebObjects/MessageProcessor.py/IncomingObjectCache.addObjectById/original