Link to home
Start Free TrialLog in
Avatar of dkim18
dkim18

asked on

is it OK to do a nested try/catch?

Hi,

I am getting this error, "Index was outside the bounds of the array"
So I can guess that this is coming out ofthe array/list/ in my case, I think it is coming from the listview.

There is several sections of the code and one try/catch to capture an exception.

Is it ok to insert more try/catch into those small sections of the code to where exactly the error is coming from?
I still this overall try/catch where there is one function from the final{}.

ASKER CERTIFIED SOLUTION
Avatar of Member_2_99151
Member_2_99151

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial