Presenting a scenario where I need this:
Let�s say, MQ server or DB server is down and I get some exception, I cast that into CustomException and throw it up, at last the whole error stack gets displayed at screen.
How to approach this situation?
One solution I found is (valid for page flow portlets in weblogic):
In every method of controller, we can do something like:
Let me know if any better way is available.
Thanks.