17 lines
309 B
PHP
17 lines
309 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Doctrine\ORM;
|
||
|
|
||
|
use Doctrine\ORM\Exception\ORMException;
|
||
|
|
||
|
class PessimisticLockException extends ORMException
|
||
|
{
|
||
|
/** @return PessimisticLockException */
|
||
|
public static function lockFailed()
|
||
|
{
|
||
|
return new self('The pessimistic lock failed.');
|
||
|
}
|
||
|
}
|