... what I like about your approach is that you can distinguish between different exception classes ( literally so)
> Exception handling allows error handling in localised and easily recognised places
Well I seem to remember that exception handling needs to propagate too, if the class can't be handled locally.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^2: Error codes vs die exceptions vs ...
by LanX
in thread Error codes vs die exceptions vs ...
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |