Tanya Brethour wrote:

And why not re-generating exception by parsing the message exception ?


Because it almost seems like a hack. I just thought there was probably a
more proper way to do it. But maybe there isn't :)


Yes... Exceptions are a java mechanism and xmlrpc must be interoperant (with
fault
codes).



So, how exactly do I specify the fault codes? I use the server to generate
the methodReponse bodies... and there doesn't seem to be a way to control
the fault code part.



Thanks, Tanya



Just throw a new XmlRpcException(int code, String message) from your handler.

--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net



Reply via email to