Transmitting exceptions through XML-RPC


Version: 1.0
Category:
Scripts
Python
Requirements:
Seller:
Price:
-
System:
Rating:
4.5
License:

Description - Transmitting exceptions through XML-RPC



Python`s xmlrpclib only raises the xmlrpclib.Fault exception, but it can be convenient to allow more different kinds of exceptions to be raised. This recipe provides a customized subclass of xmlrpclib.ServerProxy that looks for Fault exceptions where the message is of the form :, and raises the corresponding exception.



More in Python-Transmitting exceptions through XML-RPC

Fault Raises Exceptions Through