17 lines
356 B
PHP
17 lines
356 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\ORM;
|
|
|
|
/**
|
|
* Exception thrown when an ORM query unexpectedly does not return any results.
|
|
*/
|
|
class NoResultException extends UnexpectedResultException
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('No result was found for query although at least one row was expected.');
|
|
}
|
|
}
|