I'm implementing an XML-RPC server, and it appears there is no way to
override the fault code returned on an error.
There are any number of ways to patch org.apache.xmlrpc.XmlRpcException
to do it, but I'd rather not if I can avoid it.
It seems like the only way to do so ties my exceptions to
XmlRpcException (by needing to extend it), which would make it hard to
expose other interfaces to the same codebase.
Perhaps it would be possible to have the fault-code handling code check
for a method "getCode" in the exception, and if it exists, use that?
begin:vcard
fn:Benjamin Reed
n:Reed;Benjamin
org:Motricity;Deployments
adr:;;2800 Meridian Pkwy Ste 125;Durham;NC;27713;US
email;internet:[EMAIL PROTECTED]
title:Software Engineer
x-mozilla-html:FALSE
url:http://www.motricity.com/
version:2.1
end:vcard