Friday, September 26, 2008

Handle your exceptions

Handle your exceptions

 

When you write a program, ensure that you have a good framework being implemented to accomodate for unforeseen circumstances and unhandled conditions. Having unhandled exceptions lead to many problems. A few are:

  1. Unhandled exceptions left to the runtime actually are severe peformance penalty for the application
  2. It presents a very bad image of you in the eyes of your user.

For starting developers, I would always recommend that along with the minimum using directives, always have the first simple try catch statement and then appropriate exceptions being handled with care.

No comments:

[Imported from Blogdrive]Online Virus Scanners

Online Virus Scanners Virus Scanners are no longer difficult to install, tedious to configure. There are easy to use Online Virus Scanne...