Repository: juddi
Updated Branches:
  refs/heads/master 1958989fa -> 83312bd2a


JUDDI-965 fixed


Project: http://git-wip-us.apache.org/repos/asf/juddi/repo
Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/83312bd2
Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/83312bd2
Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/83312bd2

Branch: refs/heads/master
Commit: 83312bd2aa23fbed63312f1ff2cabb0770baf998
Parents: 1958989
Author: Alex <[email protected]>
Authored: Sun Sep 11 13:13:42 2016 -0400
Committer: Alex <[email protected]>
Committed: Sun Sep 11 13:13:42 2016 -0400

----------------------------------------------------------------------
 .../org/uddi/v3_service/DispositionReportFaultMessage.java     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/83312bd2/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java
----------------------------------------------------------------------
diff --git 
a/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java 
b/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java
index 62b6c93..847945e 100644
--- 
a/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java
+++ 
b/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java
@@ -18,6 +18,7 @@
 
 package org.uddi.v3_service;
 
+import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.UndeclaredThrowableException;
 import java.rmi.RemoteException;
 
@@ -110,7 +111,10 @@ public class DispositionReportFaultMessage
                        DispositionReportFaultMessage faultMsg = 
(DispositionReportFaultMessage) 
ute.getUndeclaredThrowable().getCause().getCause();
                        report = faultMsg.getFaultInfo();
                }
-       } else {
+       } else if (e instanceof InvocationTargetException){
+          //https://issues.apache.org/jira/browse/JUDDI-965
+          log.error("InvocationTargetException: It's not a known instance of 
DispositionReport. Target: 
",((InvocationTargetException)e).getTargetException());
+     } else{
                log.error("Unsupported Exception: It's not a known instance of 
DispositionReport. ",e);
           
        }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to