<?xml version="1.0" encoding="windows-1252"?>
<node id="279172" title="Re7: Learning how to use the Error module by example" created="2003-07-30 09:30:20" updated="2005-06-23 03:34:24">
<type id="11">
note</type>
<author id="85580">
dragonchild</author>
<data>
<field name="doctext">
My point is that if you're wrapping in a try-block, you should be throwing exceptions, even something like Error::OK or the like. In fact, I wouldn't even call them exceptions, really. They're more like signals within the same process. Just because we use them 99.999% of the time to indicate an abnormal situation doesn't mean that this is what they should be limited to ...
&lt;p&gt;------&lt;br&gt;&lt;i&gt;We are the carpenters and bricklayers of the Information Age.&lt;/i&gt;&lt;p&gt;Don't go borrowing trouble. For programmers, this means &lt;i&gt;Worry only about what you need to implement.&lt;/i&gt;&lt;p&gt;Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.</field>
<field name="root_node">
278619</field>
<field name="parent_node">
278982</field>
</data>
</node>
