ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PÄ“teris Caune" <cuu...@gmail.com>
Subject raising xmlrpc errors with faultCode other than 0
Date Tue, 20 Jun 2006 17:01:08 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") 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: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Mime
View raw message