Class RuntimeBundleExceptionHandler

java.lang.Object
org.activiti.cloud.services.rest.controllers.RuntimeBundleExceptionHandler

@RestControllerAdvice public class RuntimeBundleExceptionHandler extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage>
    handleAppException(IllegalStateException ex, jakarta.servlet.http.HttpServletResponse response)
     
    org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage>
    handleAppException(RuntimeException ex, jakarta.servlet.http.HttpServletResponse response)
     
    org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage>
    handleAppException(org.activiti.api.runtime.shared.UnprocessableEntityException ex, jakarta.servlet.http.HttpServletResponse response)
     
    org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage>
    handleAppException(org.activiti.core.common.spring.security.policies.ActivitiForbiddenException ex, jakarta.servlet.http.HttpServletResponse response)
     
    org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage>
    handleAppException(org.activiti.engine.ActivitiException ex, jakarta.servlet.http.HttpServletResponse response)
     
    org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage>
    handleAppException(org.activiti.engine.ActivitiIllegalArgumentException ex, jakarta.servlet.http.HttpServletResponse response)
     
    org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage>
    handleAppException(org.activiti.image.exception.ActivitiInterchangeInfoNotFoundException ex, jakarta.servlet.http.HttpServletResponse response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RuntimeBundleExceptionHandler

      public RuntimeBundleExceptionHandler()
  • Method Details

    • handleAppException

      @ExceptionHandler(org.activiti.image.exception.ActivitiInterchangeInfoNotFoundException.class) @ResponseStatus(NO_CONTENT) public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException(org.activiti.image.exception.ActivitiInterchangeInfoNotFoundException ex, jakarta.servlet.http.HttpServletResponse response)
    • 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, jakarta.servlet.http.HttpServletResponse response)
    • handleAppException

      @ExceptionHandler(org.activiti.api.runtime.shared.UnprocessableEntityException.class) @ResponseStatus(UNPROCESSABLE_ENTITY) public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException(org.activiti.api.runtime.shared.UnprocessableEntityException ex, jakarta.servlet.http.HttpServletResponse response)
    • handleAppException

      @ExceptionHandler({org.activiti.api.runtime.shared.NotFoundException.class,org.activiti.engine.ActivitiObjectNotFoundException.class}) @ResponseStatus(NOT_FOUND) public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException(RuntimeException ex, jakarta.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, jakarta.servlet.http.HttpServletResponse response)
    • handleAppException

      @ExceptionHandler(org.activiti.engine.ActivitiException.class) @ResponseStatus(BAD_REQUEST) public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException(org.activiti.engine.ActivitiException ex, jakarta.servlet.http.HttpServletResponse response)
    • handleAppException

      @ExceptionHandler(org.activiti.engine.ActivitiIllegalArgumentException.class) @ResponseStatus(CONFLICT) public org.springframework.hateoas.EntityModel<org.activiti.api.model.shared.model.ActivitiErrorMessage> handleAppException(org.activiti.engine.ActivitiIllegalArgumentException ex, jakarta.servlet.http.HttpServletResponse response)