|
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 06:30 PM.
|