Class ExceptionsHandler


  • @ControllerAdvice
    @RestController
    public class ExceptionsHandler
    extends Object
    • Constructor Detail

      • ExceptionsHandler

        public ExceptionsHandler()
    • Method Detail

      • entityNotFoundException

        @ExceptionHandler(EntityNotFoundException.class)
        public org.springframework.http.ResponseEntity<eu.dnetlib.uoaadmintoolslibrary.responses.ExceptionResponse> entityNotFoundException​(Exception ex)
      • pathNotValidException

        @ExceptionHandler(PathNotValidException.class)
        public org.springframework.http.ResponseEntity<eu.dnetlib.uoaadmintoolslibrary.responses.ExceptionResponse> pathNotValidException​(Exception ex)