1 package org.openecomp.mso.bpmn.common.workflow.service;
3 import org.onap.so.bpmn.common.workflow.context.WorkflowResponse;
6 * Exception thrown when an error occurs while processing the workflow.
7 * This encapsulates the workflow response so that the same can be sent back to api handler.
9 public class WorkflowProcessorException extends RuntimeException {
10 WorkflowResponse workflowResponse;
12 public WorkflowProcessorException(WorkflowResponse workflowResponse) {
13 this.workflowResponse = workflowResponse;
16 public WorkflowResponse getWorkflowResponse() {
17 return workflowResponse;