Apr 25th, 2011, 01:41 AM
Spring Web Flow Global Exception Handling
In my current Spring Web Flow project am implemented global exception handling.please find the below requirement.
I have written Exception handler which extends TransitionExecutingFlowExecutionExceptionHandler .Please find the behaviour of exception handler.
1) if any exception occurred while clicking any transaction (ex:edit billing details ). we are logging the actual exception and showing a message with in the same page (for edit billing message is configured in properties file like flowname.transaction fromat).
2) i have place exceptionhandler in global-exception flow.xml. so if i will introduce any new flow the flow should contain parent="global-exception"
My Question is here is there any way with putting this parent="global-exception" all flows need to extend global-exception.
Thanks in Advance.