ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toms Baugis" <toms.bau...@gmail.com>
Subject How to return non-zero faultCode
Date Tue, 20 Jun 2006 16:20:35 GMT
Hello,

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.

Sincerely,

Toms Baugis

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Mime
View raw message