RootStanza raises unexpected exceptions
commit982bf3b2ecba86a76badf8cacbe82a8f5fc00b80
authorFlorent Le Coz <louiz@louiz.org>
Fri, 17 Dec 2010 15:33:13 +0000 (17 23:33 +0800)
committerLance Stout <lancestout@gmail.com>
Fri, 17 Dec 2010 15:43:48 +0000 (17 23:43 +0800)
treec3e801f449a723a68df97b0620b78bc7715dfbfa
parent0aee445e6976b03f7e04bcab6ec40ecf14b5d1a4
RootStanza raises unexpected exceptions

We now raise the unexpected exceptions instead of sending
them on the network.
 - avoids flood (sending a traceback on a MUC, for example…) and
   maybe some security issues.
 - lets you handle the traceback (catch it to handle
   it properly, or with except_hook, etc)
 - an exception cannot be raised without you knowing
sleekxmpp/stanza/rootstanza.py