class AccessDeniedException extends RuntimeException
AccessDeniedException is thrown when the account has not the required role.
__construct(string $message = 'Access Denied.', Exception $previous = null) | ||
array | getAttributes() | |
setAttributes(array|string $attributes) | ||
mixed | getSubject() | |
setSubject(mixed $subject) |
string | $message | |
Exception | $previous |
array |
array|string | $attributes |
mixed |
mixed | $subject |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Core/Exception/AccessDeniedException.html