Brilliant and makes a lot of sense.  A question.  Suppose the code breaks in the main Try, how will it exit to the main catch and not go to the next line of the child try/catch block because that is the next code block?
 
Rgds. 
 

 
On Thu, Nov 24, 2011 at 10:51 PM, Daniel Ndeti <dantoz@gmail.com> wrote:
How about something like this 
try
{
  //main code 
   try
      {
        //child code
      }
      catch(Exception ex)
      {
          //display error message from child code
       }
}
catch(Exception ex)
{
          //display error message from main code
}