xref: /dokuwiki/inc/Search/Exception/IndexLockException.php (revision 83b3acccb42578eaa33f84e6b13612436320090b)
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}
15