Is there any easy way how to handle errors in the Grails Spring WebFlow in general? I mean not to have a try-catch block in each block but to have a general handler for the whole flow.
We found one solution to put some logic to error controller (accessed by mappings "500"(controller: "serverErrors", action: "error500")). But it's not sufficient way fur us because the exception is thrown anyway.
We'd like to catch SnapshotNotFoundException which occurs when the user manually change the web flow step in url, let's say from ?execution=e4s2 to ?execution=e4s3
Is there any way how to do it?