The Security Component's exceptions should implements Security's ExceptionInterface
This commit is contained in:
parent
1e90ddd00d
commit
0ee4cf1019
@ -16,7 +16,7 @@ namespace Symfony\Component\Security\Core\Exception;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
class AccessDeniedException extends \RuntimeException
|
||||
class AccessDeniedException extends RuntimeException
|
||||
{
|
||||
private $attributes = array();
|
||||
private $subject;
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Alexander <iam.asm89@gmail.com>
|
||||
*/
|
||||
class AuthenticationException extends \RuntimeException implements \Serializable
|
||||
class AuthenticationException extends RuntimeException implements \Serializable
|
||||
{
|
||||
private $token;
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace Symfony\Component\Security\Core\Exception;
|
||||
*
|
||||
* @author Jeremy Mikola <jmikola@gmail.com>
|
||||
*/
|
||||
class LogoutException extends \RuntimeException
|
||||
class LogoutException extends RuntimeException
|
||||
{
|
||||
public function __construct(string $message = 'Logout Exception', \Exception $previous = null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user