From: Joe Van Dyk Date: 2005-09-28T12:07:19+09:00 Subject: Re: raising exceptions across DRb and XMLRPC On 9/27/05, James Britt wrote: > Florian Gro� wrote: > > Joe Van Dyk wrote: > > > >> Say, an error happens on a Node. How should I transmit that error > >> back across DRb and XMLRPC to the GUIs? Does XMLRPC do well with > >> exceptions? Should I come up with my own custom error-reporting > >> scheme? > > > > > > It is no problem with DRb as it can safely transport exceptions across > > the network. No special casing is needed. > > > > I'm not sure about XMLRPC. > > Pretty sure XML-RPC has a defined means for expressing exceptions, or > faults: > > > http://www.xmlrpc.com/spec Hm, now all I have to do is figure out how to send a XMLRPC::FaultException. Anyone have any example code?