xref: /dokuwiki/inc/Search/Exception/IndexLockException.php (revision e7ebba474029bebf1e29d921e34f1550f1e08753)
1<?php
2
3namespace dokuwiki\Search\Exception;
4
5class IndexLockException extends SearchException
6{
7    /** @inheritdoc */
8    public function __construct($message = "", $code = 0, ?\Throwable $previous = null)
9    {
10        if ($message == '') $message = 'Index not locked for writing';
11        parent::__construct($message, $code, $previous);
12    }
13}
14