Currently there is no support in Spring Web Flow for handling exceptions that occur outside a Flow Execution (at the Flow executor level). Specifically these exceptions can occur launching new executions (NoSuchFlowDefinitionException) and restoring existing executions (NoSuchFlowExecution or BadlyFormattedFlowExecutionKeyException).
This ticket should introduce generic code to handle these exceptions by taking an appropriate response action. Two response actions to be supported include routing to an error view and restarting the flow (if possible).
Sam Brennan's SpringWebFlowExceptionResolver serves as the start of this work:
SpringWebFlowExceptionResolver is a custom extension of org.springframework.web.servlet.handler.SimpleMappingExceptionResolver which resolves Spring Web Flow (SWF) exceptions by redirecting to the originating flow URL to launch a new flow. The list of exceptions that should be resolved is configurable and therefore not limited to exceptions from the SWF framework.