Re: Try/Catch
- Posted by petelomax Feb 07, 2015
- 4951 views
While fixing yet more bugs in Phix, I just realised something: there is a whole subset of non-recoverable exceptions.
Sure, if you've got an index out of bounds or a divide by zero, or in fact most things, recovery is perfectly reasonable.
But if you've got heap or stack corruption, then it's game over. There will have to be some, hopefully rare, non-catchable exceptions.
Just sayin,
Pete