Class ControllerAdvisor


  • @ControllerAdvice("org.intocps.maestro.webapi")
    @Order
    @RequestMapping(produces="application/vnd.error+json")
    public class ControllerAdvisor
    extends java.lang.Object
    • Constructor Detail

      • ControllerAdvisor

        public ControllerAdvisor()
    • Method Detail

      • missingRequestParameterException

        @ExceptionHandler(org.springframework.web.bind.MissingServletRequestParameterException.class)
        public org.springframework.http.ResponseEntity<VndErrors> missingRequestParameterException​(org.springframework.web.bind.MissingServletRequestParameterException e)
      • assertionException

        @ExceptionHandler(java.lang.IllegalArgumentException.class)
        public org.springframework.http.ResponseEntity<VndErrors> assertionException​(java.lang.IllegalArgumentException e)
      • runtimeExceptionException

        @ExceptionHandler(java.lang.Exception.class)
        public org.springframework.http.ResponseEntity<VndErrors> runtimeExceptionException​(java.lang.Exception e)
      • runtimeExceptionException

        @ExceptionHandler(java.io.IOException.class)
        public org.springframework.http.ResponseEntity<VndErrors> runtimeExceptionException​(java.io.IOException e)
      • unsupportedOperationExceptionException

        @ExceptionHandler(java.lang.UnsupportedOperationException.class)
        public org.springframework.http.ResponseEntity<VndErrors> unsupportedOperationExceptionException​(java.lang.Exception e)
      • beanCreationException

        @ExceptionHandler(org.springframework.beans.factory.BeanCreationException.class)
        public org.springframework.http.ResponseEntity<VndErrors> beanCreationException​(org.springframework.beans.factory.BeanCreationException e)
      • notImplementedException

        @ExceptionHandler(org.apache.commons.lang3.NotImplementedException.class)
        public org.springframework.http.ResponseEntity<VndErrors> notImplementedException​(org.apache.commons.lang3.NotImplementedException e)