def getAdapter(self, adapter): if adapter not in self._adapters: raise Ice.AdapterNotFoundException() return self._adapters[adapter]