Hello Guys I need your help,
I’m trying to test a data that is manually written if it fit a specific pattern for exemple(name of tax1:value1 ;name of tax2:value2) and detect the ones that doesn’t fit this pattern and report them in the output so I used a try catch inside a while loop bloc.
the problem is that when the error occurs the catch bloc won’t work and when I try this instruction alone without while loop it works fine.
Can anyone explain this to me please
@Ghassen_Jabbar
Is it possible that you share the code with us? My first guess is that you have selected the wrong exception type.
Did you check that you create an exception in the catch block like System.Exception?
Regards