1 package org.onap.sdc.workflow.services.errors;
3 import static org.springframework.http.HttpStatus.NOT_FOUND;
5 import org.springframework.web.bind.annotation.ResponseStatus;
7 @ResponseStatus(NOT_FOUND)
8 public class WorkflowNotFoundException extends RuntimeException {
10 public WorkflowNotFoundException(String workflowId) {
11 super(String.format("Workflow with id %s does not exist", workflowId));