Class

Symfony\Component\Security\Core\Exception\AccessDeniedException

class AccessDeniedException extends RuntimeException

AccessDeniedException is thrown when the account has not the required role.

Methods

__construct($message = 'Access Denied', Exception $previous = null)

Details

at line 21
public __construct($message = 'Access Denied', Exception $previous = null)

Parameters

$message
Exception $previous