I'm trying to raise an exception on the Server Side of an SimpleXMLRPCServer; however, all attempts get a "Fault 1" exception on the client side.
RPC_Server.AbortTest() File "C:\Python25\lib\xmlrpclib.py", line 1147, in call return self.send(self.__name, args) File "C:\Python25\lib\xmlrpclib.py", line 1437, in __request verbose=self.__verbose File "C:\Python25\lib\xmlrpclib.py", line 1201, in request return self._parse_response(h.getfile(), sock) File "C:\Python25\lib\xmlrpclib.py", line 1340, in _parse_response return u.close() File "C:\Python25\lib\xmlrpclib.py", line 787, in close raise Fault(self._stack) xmlrpclib.Fault: :Test Aborted by a RPC request">
Silverlight RoutedEvents and Exceptions
Cannot understand WCF error message, help needed
java exception chaining question
Are you expecting the SimpleXMLRPCServer to return the exception to the client?.
Locating (file/line) the invocation of a constructor in python
You can only use objects that can be marshalled through XML.
The difference between re-throwing parameter-less catch and not doing anything?
What is the cause of EJB 2.x “reentrant method call detected” Exceptions? How to solve them?
- boolean : The True and False constants
- integers : Pass in directly
- floating-point numbers : Pass in directly
- strings : Pass in directly
- arrays : Any Python sequence type containing conformable elements.
Arrays are returned as lists
- structures : A Python dictionary.
Java BrowserLauncher throwing InvocationTargetException
Keys must be strings, values may be any conformable type.
Objects of user-defined classes can be passed in; only their
__dict__attribute is transmitted.
- dates : in seconds since the epoch (pass in an instance of the DateTime class) or a datetime.datetime instance.
- binary data : pass in an instance of the Binary wrapper class
in the server the message member of the exception you get in the client will be the same as executing str() on the original exception prefixed with the string representation of the type.. The result I get for the message member is:.
You could certainly parse this to get the information you need..