Class GlobalExceptionHandler

java.lang.Object
org.qubership.atp.tdm.configuration.GlobalExceptionHandler

@ControllerAdvice public class GlobalExceptionHandler extends Object
  • Constructor Details

    • GlobalExceptionHandler

      public GlobalExceptionHandler()
  • Method Details

    • handleException

      @ExceptionHandler(org.springframework.security.access.AccessDeniedException.class) protected org.springframework.http.ResponseEntity<Object> handleException(org.springframework.security.access.AccessDeniedException exception)
      Handle AccessDeniedException exception with saved headers.