Class ExceptionAdvice


  • @ControllerAdvice
    public class ExceptionAdvice
    extends Object
    • Constructor Detail

      • ExceptionAdvice

        public ExceptionAdvice()
    • Method Detail

      • handleNotFound

        @ResponseStatus(NOT_FOUND)
        @ExceptionHandler(org.springframework.security.core.userdetails.UsernameNotFoundException.class)
        public void handleNotFound()
      • handleHttpMediaTypeNotAcceptableException

        @ResponseStatus(NOT_FOUND)
        @ExceptionHandler(org.springframework.web.HttpMediaTypeNotAcceptableException.class)
        public void handleHttpMediaTypeNotAcceptableException()