. */ namespace SP\Core\Acl; use Exception; use SP\Core\Exceptions\SPException; /** * Class AccountPermissionException * * @package SP\Core\Acl */ final class AccountPermissionException extends SPException { /** * SPException constructor. * * @param string $type * @param int $code * @param Exception|null $previous */ public function __construct(string $type, $code = 0, Exception $previous = null) { parent::__construct(__u('You don\'t have permission to access this account'), $type, __u('Please contact to the administrator'), $code, $previous); } }