ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toms Baugis" <>
Subject How to return non-zero faultCode
Date Tue, 20 Jun 2006 16:20:35 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") returns faultCode 0.

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

I am using Apache XML-RPC v3.


Toms Baugis

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

View raw message