Andreas,

On Fri, 2005-07-29 at 13:20, Schölver, Andreas wrote:
> IllegalArgumentException iae = new IllegalArgumentException( "invalid id" );
> System.out.println( iae );
> System.out.println( iae.getMessage() );
> 
> output:
> 
> java.lang.IllegalArgumentException: invalid id
> invalid id

Yes, but I am talking about the fault string that is actually sent over
the wire, in the XMLRPC/HTTP response. I throw an exception in my server
side code, and it ends up with that name in the text of the fault that
gets returned to the client.

Now, I could be receiving that fault in a Perl RPC client, or in Java
code or whatever, the fact remains: the name of the exception class is
in the *text* of the fault.

On the client side in Java, this of course generates an XmlRpcException,
but my issue is what gets sent to the client, from my server code, in
the first place.

Can anyone help?

Oli

Reply via email to