Thanks, I think that will help out a lot! <div><br></div><div>slide<br><div><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 8:54 AM, Jeff Hardy <span dir="ltr">&lt;<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Jan 11, 2011 at 7:14 AM, Slide &lt;<a href="mailto:slide.o.mix@gmail.com">slide.o.mix@gmail.com</a>&gt; wrote:<br>

&gt; Is there a document that describes how to implement a Python exception in a<br>
&gt; C# module? In looking through the code, the exception stuff is seemingly in<br>
&gt; about 20 different places and bringing it all together is not easy, at least<br>
&gt; to the casual observer :-)<br>
<br>
</div>I don&#39;t think there is. It&#39;s not too bad once you figure it out, but<br>
figuring it out is tricky, to say the least.<br>
<br>
You could look at<br>
<a href="https://bitbucket.org/jdhardy/ironpython.sqlite/src/95894443fffe/src/Exceptions.cs" target="_blank">https://bitbucket.org/jdhardy/ironpython.sqlite/src/95894443fffe/src/Exceptions.cs</a>,<br>
which has it all in one place for a fairly deep exception hierarchy.<br>
(`InitModuleExceptions` is called from `PerformModuleReload` in<br>
_sqlite.cs.) I just figured that out from reading the existing<br>
modules, but I&#39;m thinking I should write a &quot;module implementer&#39;s<br>
guide&quot; with those sorts of lore in it. I thought there was one<br>
started, but now I can&#39;t find it.<br>
<br>
- Jeff<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>slide-o-blog<br><a href="http://slide-o-blog.blogspot.com/">http://slide-o-blog.blogspot.com/</a><br>
</div></div>