Uses of Class
app.YUP.exception.InvalidPermissionException
Packages that use InvalidPermissionException
-
Uses of InvalidPermissionException in app.YUP.exception
Methods in app.YUP.exception with parameters of type InvalidPermissionExceptionModifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewYupControllerAdvice.handleException(InvalidPermissionException e, jakarta.servlet.http.HttpServletResponse response) Handles exceptions of typeInvalidPermissionExceptionby setting the HTTP response status to 401 (Unauthorized) and returning a ModelAndView object that displays an exception view with the exception message.