Searched refs:NotFoundException (Results 1 – 7 of 7) sorted by relevance
5 use Elastica\Exception\NotFoundException; alias 148 } catch (NotFoundException $e) {271 * @throws NotFoundException280 throw new NotFoundException('Unable to find the field [took]from the response');289 * @throws NotFoundException298 throw new NotFoundException('Unable to find the field [_shards] from the response');307 * @throws NotFoundException316 throw new NotFoundException('Unable to find the field [_scroll_id] from the response');
7 use Elastica\Exception\NotFoundException;58 * @throws NotFoundException69 throw new NotFoundException("Repository '".$name."' does not exist.");119 * @throws NotFoundException130 throw new NotFoundException("Snapshot '".$name."' does not exist in repository '".$repository."'.");5 use Elastica\Exception\NotFoundException; global() alias
10 use Elastica\Exception\NotFoundException;288 * @throws NotFoundException303 throw new NotFoundException('doc id '.$id.' not found');332 throw new NotFoundException('Doc id "'.$id.'" not found and can not be deleted');7 use Elastica\Exception\NotFoundException; global() alias
10 class NotFoundException extends \RuntimeException implements ExceptionInterface class
7 use Elastica\Exception\NotFoundException;91 throw new NotFoundException('Index '.$this->getIndex()->getName().' not found');5 use Elastica\Exception\NotFoundException; global() alias
142 } catch (\Elastica\Exception\NotFoundException $e) {
317 * The method `Index::deleteById()` does not throw an `NotFoundException` when deleting a non-existing document [#1732](https://github.com/ruflin/Elastica/pull/1732)1199 - Updated Type::getDocument() exception handling. \Elastica\Exception\ResponseException will be thrown instead of \Elastica\Exception\NotFoundException if the ES response contains any error (i.e: Missing index) (BC break) [#687](https://github.com/ruflin/Elastica/issues/687/)