handling exceptions in decode methods
843842Jun 7 2004 — edited Jun 7 2004I have a custom component and it throws run time exceptions in the encode and decode methods at times...
I have an error page defined in web.xml and i simply print the exception message on that page...
When the exception happens in the encode method, the exception is propogated to the error page and I can correctly print the exception message...
However, when the exception happens in the decode method, even though control is redirected to the error page; the "exception" object is not propogated and is null.
Why does this happen? Any way to get around it so that I can print the correct exception message?