S
steven chong
Hi,
A button event on my page actually triggers a chain of method calls, and
each of these methods has its own try catch statement. The error is
thrown all the way from DataAccess->Business->and subsequently handled
in the Presentation layer.
My problem is, if i do a try catch, the inner exception of the exception
which i get in the presentation layer only shows what happened in
presentation. The bus, and presentation exceptions stacktraces are all lost.
However, if i DO NOT use try catch, and just handle the exceptions in
the web (meaning try catch in button_clicks, page_loads), i get the
entire chain of event leading to the error.
Is this by design (try catch throw statments removes my exception
trace)? My goal is the obtain the entire chain of events, for error
trapping and debugging purposes.
Thanks in advance
A button event on my page actually triggers a chain of method calls, and
each of these methods has its own try catch statement. The error is
thrown all the way from DataAccess->Business->and subsequently handled
in the Presentation layer.
My problem is, if i do a try catch, the inner exception of the exception
which i get in the presentation layer only shows what happened in
presentation. The bus, and presentation exceptions stacktraces are all lost.
However, if i DO NOT use try catch, and just handle the exceptions in
the web (meaning try catch in button_clicks, page_loads), i get the
entire chain of event leading to the error.
Is this by design (try catch throw statments removes my exception
trace)? My goal is the obtain the entire chain of events, for error
trapping and debugging purposes.
Thanks in advance