# http://pyrocko.org - GPLv3 # # The Pyrocko Developers, 21st Century # ---|P------/S----------~Lg----------
raise Exception('This method should be implemented in derived class.')
raise Exception('This method should be implemented in derived class.')
yield self.get_event(name)
Exception.__init__(self) self._url = url
def __str__(self): if self._url: return 'No results for request %s' % self._url else: return 'No results for request' |