Hi!

Checking out dynamic proxy and exception handling I came up with a question
or two...

If the method exposes XmlRpcException isn't the cause exception available?
I thought it would be available using getCause but it doesn't seem so.

E.g. causing  a division by zero exception (Java.lang.ArithmeticException: /
by zero) results in:

org.apache.xmlrpc.XmlRpcException: Failed to invoke method throwIO in class
org.apache.xmlrpc.demo.webserver.proxy.impls.ExceptionTesterImpl: / by zero
ava.lang.ArithmeticException: / by zero


It would be really useful if the client could somehow get the cause
exception (if it exists) is XmlRpcException is exposed and a
UndeclaredThrowableException isn't thrown.

Best regards,
Jimisola 
-- 
View this message in context: 
http://www.nabble.com/Note%3A-Dynamic-proxy-generation-tf1788784.html#a5388544
Sent from the Apache Xml-RPC - User forum at Nabble.com.


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

Reply via email to