Class WorkflowExceptionHandler
java.lang.Object
com.broadleafcommerce.workflow.web.endpoint.WorkflowExceptionHandler
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
@Order(1000)
public class WorkflowExceptionHandler
extends Object
Convert key exception types into the appropriate HTTP status codes for reporting to the caller
-
Constructor Details
-
WorkflowExceptionHandler
public WorkflowExceptionHandler()
-
-
Method Details
-
error
@ExceptionHandler(WorkflowStateAssertionException.class) public org.springframework.http.ResponseEntity<Object> error(Assert.WorkflowStateAssertionException ex) -
error
@ExceptionHandler(WorkflowBeanNotFoundException.class) public org.springframework.http.ResponseEntity<Object> error(WorkflowBeanNotFoundException ex)
-