Hello Friends Iam trying to handle
org.springframework.webflow.execution.repository.snapshot.SnapshotNotFoundException
this exception but iam failed to do so. In this way i handle SnapshotNotFoundException.
<transition on-exception="org.springframework.webflow.execution.repository.snapshot.SnapshotNotFoundException"
to="exceptionHandler" />
That declarative Exception handling does not seem to work for internal Web Flow exceptions. For this particular case, we had to implement a custom
FlowHandler
.handleException()
.Something like:
And in Spring configuration file: