aboutsummaryrefslogtreecommitdiff
path: root/lib/exceptions/InvalidSecurityTokenException.php
blob: 134f54d89f48d252ddc6a4e41199db6a6f39ba73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
 * InvalidSecurityTokenException.php
 *
 * This exception is thrown when a request does not verify its authenticity.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * @author      mlunzena@uos.de
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GPL version 2
 * @category    Stud.IP
 */

class InvalidSecurityTokenException extends AccessDeniedException
{
    /**
     * @param string this parameter is ignored but required by PHP
     */
    public function __construct($message = '', $code = 0, Exception $previous = null)
    {
        parent::__construct(_('Ungültiges oder fehlendes Sicherheits-Token.'));
    }
}