Web Part Exception Handling guidelines or standards?

Dec 19, 2008 at 6:11 PM
My question is of a more general nature:

What are the general best practices for exception handling in Web Parts? …which specific events/methods should you include specific try/catch login?  …how best to handle them, etc. 

However, the class of web parts I’m most interested in are web parts that:

1.       Use databinding (e.g. SPGridViews and ObjectDataSources)

2.       Created entirely in code (e.g. CreateChildControls and OnPreRender) as well as those that use LoadControl to load ASCX user controls

 

..but I’d appreciate any and all pointers.

Michael