Hi,
I have a problem with a nested try/catch error handler in the example below if there is an error
in validatefld it works OK it goes to the fieldvalidation catch and returns to where the test()
method was call but if the error occurs on step one method it goes to the exception catch and
sets the error code to 80 and the message but then it executes steptwo() and stepthree() methods
before returning to where the method test() was call from and it displays the error message
how can I return to test() if an error occurs in stepone() with out executing
steptwo() and stepthree()
test()
{
try
{
validatefld();
try
{
stepone();
}
catch(exception e)
{
errorcdoe = 80;
errorMsg = "this is a tes")
}
steptwo();
stepthree();
}
catch(fieldvalidation ex)
{
errorcdoe = 10;
errorMsg = "field validation error")
}
catch(test ez)
{
}
carch(exception e)
{
}
}