Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

            @staticmethod
    def create_instance(config):
        try:
            return StoreFactory._storesCreators[config.main.store_type](config)
        except KeyError, _:
            raise UnknownStoreException("Couldn't create a store instance of type: %s (Unknown Type)" % config.main.store_type)
        


src/j/2/j25framework-0.5.8/j25/__init__.py   j25framework(Download)
        return _store
    try:
        _store = StoreFactory.create_instance(config) 
    except UnknownStoreException, e:
        logging.critical(str(e))