[Lavanya Deepak] Lavanya Deepak
Technology for Better Business and Higher Standards of Life

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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home