G
Guest
Hi,
I have a switch statement that has 5+ case statements. Each of these case
statements copies form one array to another. Rather than doing a separate
try..catch statement for each case statement I wanted to wrap all the case
statements in one try catch statement.
However I am having problems doing this as there is a compilation error
wrapping all the case statements inside the try block or putting the whole
switch statement in the try block.
Does anyone know how I can use one try catch staments for my switch statement?
Thanks In Advance
Macca
I have a switch statement that has 5+ case statements. Each of these case
statements copies form one array to another. Rather than doing a separate
try..catch statement for each case statement I wanted to wrap all the case
statements in one try catch statement.
However I am having problems doing this as there is a compilation error
wrapping all the case statements inside the try block or putting the whole
switch statement in the try block.
Does anyone know how I can use one try catch staments for my switch statement?
Thanks In Advance
Macca