[ http://issues.apache.org/jira/browse/XMLRPC-66?page=all ]
     
Jochen Wiedmann closed XMLRPC-66:
---------------------------------

    Resolution: Fixed

No reply, closing.


> Throwing exception to create RPC fault results in exception name transmitted 
> over the wire
> ------------------------------------------------------------------------------------------
>
>          Key: XMLRPC-66
>          URL: http://issues.apache.org/jira/browse/XMLRPC-66
>      Project: XML-RPC
>         Type: Bug

>     Versions: 2.0
>     Reporter: Oliver Cole
>     Assignee: Jochen Wiedmann

>
> If you throw an exception at any point in or below the named method in the 
> handler object registered with the XmlRpcServer object, like so,
> throw new IllegalArgumentException("foobar");
> then the name of the exception is returned in the RPC fault sent over the 
> wire, like so:
> <value>
> java.lang.Exception: java.lang.IllegalArgumentException: foobar
> </value>
> This is of course, bad, as this is not implementation independant.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to