1 16 package org.springframework.webflow.definition.registry; 17 18 import org.springframework.core.style.StylerUtils; 19 import org.springframework.webflow.core.FlowException; 20 21 28 public class NoSuchFlowDefinitionException extends FlowException { 29 30 33 private String flowId; 34 35 41 public NoSuchFlowDefinitionException(String flowId, String [] availableFlowIds) { 42 super("No such flow definition with id '" + flowId + "' found; the flows available are: " 43 + StylerUtils.style(availableFlowIds)); 44 this.flowId = flowId; 45 } 46 47 50 public String getFlowId() { 51 return flowId; 52 } 53 } | Popular Tags |