View Single Post
  #1 (permalink)  
Old 05-09-2007, 05:17 PM
Freddie Freddie is offline
Member
 
Join Date: May 2007
Posts: 42
Freddie is on a distinguished road
Return to try block
hello my friends, the doubt is how can I return to the try block after having treated the exception and correct the problem. For example:
try

{

aPupil.delete(PosMani);

}

catch (Exception e)

{

cConsola.writeLine(e.getMessage());


I want that my following code line allows me to back to try block, where I am doing the call of the method that through the exception
and another thing, when I do like here in the example:


CConsola.writeLine (e.getMessage ());


There should not go out the message that and I have defined in the exception?

Thank you for everything.

Last edited by Freddie : 05-09-2007 at 07:30 PM.
Reply With Quote
Sponsored Links