Re: Try/Catch
- Posted by Ekhnat0n Feb 13, 2015
- 4118 views
What if we decide on valid value-range (ValMax and ValMin) as arguments for any variable,
to try and prevent as many exceptions as possible and only if those boundaries are passed
an exception-handler should be called, which KNOWS
those boundaries and can react properly to deal with the rare exception.
For the handling itself I refer to my kind of fall-through handling
of errors and exceptions this time with the exact number of the exception being known
to the program (or debugger)
The heuristics for that handler will be known as you saw them in the other fork of this topic already