Nov 12th, 2009, 03:01 AM
How to resolve exception thrown from view resolver?
Hi, could You help me with the following issue:
I have a custom view resolver(s) and an exception resolver.
When an exception is throw from the controller code, the exception resolver is callend and the exception is mapped onto the view with error message.
However, when I throw an exception from one of the view resolvers, it propagates up to the application server, and is not resolved with registered exception resolver.
I suppose this happens because exception resolver is 'below' view resolvers, since the views returned by it must be resolved... and so exceptions from view resolvers are thrown outside.. but still I dmo not know how to deal with that situation in a well-designed way.
Could anybody shed some light on this one?
Jan 8th, 2012, 11:57 PM
Able to resolve ?
Were you able to resolve this issue? I am facing a similar issue in my application.