ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PÄ“teris Caune" <>
Subject raising xmlrpc errors with faultCode other than 0
Date Tue, 20 Jun 2006 17:01:08 GMT

I was wondering how to raise an XmlRpcException with faultCode other than 0.
Depending only on strings is risky, and faultCode looks perfect for
fixed list of my own programmatic exceptions (like "connection to
database lost" and such).

Still, somehow, throw new XmlRpcException(-123,"some text") from my
class returns faultCode 0.

Is that a bug, or should i report exceptions other ways?

I am using Apache XML-RPC v3.

Sincerely, Toms Baugis

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message