26 lines
634 B
PHP
26 lines
634 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of the Symfony package.
|
||
|
*
|
||
|
* (c) Fabien Potencier <fabien@symfony.com>
|
||
|
*
|
||
|
* For the full copyright and license information, please view the LICENSE
|
||
|
* file that was distributed with this source code.
|
||
|
*/
|
||
|
|
||
|
namespace Symfony\Component\Security\Core\Exception;
|
||
|
|
||
|
/**
|
||
|
* LogoutException is thrown when the account cannot be logged out.
|
||
|
*
|
||
|
* @author Jeremy Mikola <jmikola@gmail.com>
|
||
|
*/
|
||
|
class LogoutException extends RuntimeException
|
||
|
{
|
||
|
public function __construct(string $message = 'Logout Exception', ?\Throwable $previous = null)
|
||
|
{
|
||
|
parent::__construct($message, 403, $previous);
|
||
|
}
|
||
|
}
|