Class CommonExceptionHandler


  • @RestControllerAdvice
    public class CommonExceptionHandler
    extends Object
    • Constructor Detail

      • CommonExceptionHandler

        public CommonExceptionHandler()
    • Method Detail

      • handleAppException

        @ExceptionHandler(org.activiti.core.common.spring.security.policies.ActivitiForbiddenException.class)
        @ResponseStatus(FORBIDDEN)
        public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException​(org.activiti.core.common.spring.security.policies.ActivitiForbiddenException ex,
                                                                                                                                    javax.servlet.http.HttpServletResponse response)
      • handleAppException

        @ExceptionHandler(java.lang.IllegalStateException.class)
        @ResponseStatus(BAD_REQUEST)
        public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException​(IllegalStateException ex,
                                                                                                                                    javax.servlet.http.HttpServletResponse response)
      • handleAppException

        @ExceptionHandler(org.activiti.api.runtime.shared.NotFoundException.class)
        @ResponseStatus(NOT_FOUND)
        public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException​(org.activiti.api.runtime.shared.NotFoundException ex,
                                                                                                                                    javax.servlet.http.HttpServletResponse response)