
4 Jul
2006
4 Jul
'06
7:11 p.m.
Bronek, As far as typos and the exception lib are concerned, the tag types have no advantage over strings. In fact they are exactly the same. If you use tag types, you can avoid typos by declaring the tag type in a header file that's included both by the code that throws, and the code that catches. If you use strings, you can do the same thing. Ultimately I think it is better to declare the tag types directly with the code that needs them, and by doing this you're exposing yourself to typos. --Emil