Re: Try/Catch

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu