Documentation

AccessDeniedException extends Exception
in package

Exception thrown when access to a resource is denied.

Typically thrown when @Access annotation restrictions are violated (e.g., unauthorized user role, unauthenticated access attempt).

Usage:

throw new AccessDeniedException('You do not have permission to access this resource');

Table of Contents


        
On this page
  • Table Of Contents

Search results