Uses of Class
com.lpvs.exception.WrongAccessException
Package
Description
This package contains custom exception classes used in the application to represent various error scenarios.
-
Uses of WrongAccessException in com.lpvs.exception
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ErrorResponse>
PageControllerAdvice.wrongAccessHandle
(WrongAccessException e) HandlesWrongAccessException
by logging the error and returning anerrorResponse
with FORBIDDEN status.