Recent Posts
Calendar
September 2008
S M T W T F S
« Aug   Oct »
 123456
78910111213
14151617181920
21222324252627
282930  

Archive for September 2nd, 2008

DotNetNuke Modules – Exceptions the DNN Way

misc_vol3_086 Everyone knows (or should know) that handling exceptions is  a fundamental feature of the .NET environment.  And most of the time if we don’t handle the exception ourselves the .NET environment will handle it for us.  However, letting the environment deal with the exception leaves us with absolutely nothing intelligent for our customers to report back to us when they call to report an error.

So, at a minimum, every application should have some way of getting some of the critical information back to the developer about what happened when the exception happened.  Log it to a file.  Log it to a database.  Send an email.  But do something.

Fortunately, DotNetNuke has an API call that we can make that will do all the hard work for us.  All we need to do is to make sure we call it.

Read the rest of this entry »