diff options
Diffstat (limited to 'Core/Exception/LogoutException.php')
-rw-r--r-- | Core/Exception/LogoutException.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Core/Exception/LogoutException.php b/Core/Exception/LogoutException.php new file mode 100644 index 0000000..2bb954f --- /dev/null +++ b/Core/Exception/LogoutException.php @@ -0,0 +1,25 @@ +<?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($message = 'Logout Exception', \Exception $previous = null) + { + parent::__construct($message, 403, $previous); + } +} |