aboutsummaryrefslogtreecommitdiff
path: root/lib/exceptions/FeatureDisabledException.php
blob: ebb77367aed8285b4a689db532bbb9f8eeaac375 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
class FeatureDisabledException extends Studip\Exception
{
    public function __construct($message = '', $code = 0, ?Exception $previous = null)
    {
        if (func_num_args() === 0) {
            $message = _('Diese Funktion ist ausgeschaltet.');
        }
        parent::__construct($message, [], $code, $previous);
    }
}