Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: XML-RPC
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
The XMLRPCServerProxy class swallows IOExceptions in the invokeMethod method by throwing an XMLRPCCallFailureException (which by design have no caused by Throwable). This prevents users from being able to distinguish between generic IOExceptions and, for example, FileNotFoundExceptions.
The submitted patch fixes this by permitting XMLRPCCallFailureExceptions to have caused by Throwables/Exceptions and using this new Constructor in the invokeMethod method of XMLRPCServerProxy.
John, I'd like your advice on this.