cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashaki...@apache.org
Subject git commit: [/CXF-6019]: original exception isn't logged by exceptions in WSDL parser
Date Tue, 23 Sep 2014 07:35:00 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 8d6ec66ff -> 6a90a1e6a


[/CXF-6019]: original exception isn't logged by exceptions in WSDL parser


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/6a90a1e6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/6a90a1e6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/6a90a1e6

Branch: refs/heads/master
Commit: 6a90a1e6a354f9335d8c23c1b932008feec04258
Parents: 8d6ec66
Author: Andrei Shakirin <andrei.shakirin@gmail.com>
Authored: Tue Sep 23 09:34:30 2014 +0200
Committer: Andrei Shakirin <andrei.shakirin@gmail.com>
Committed: Tue Sep 23 09:34:30 2014 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/frontend/WSDLGetUtils.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6a90a1e6/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetUtils.java
----------------------------------------------------------------------
diff --git a/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetUtils.java b/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetUtils.java
index 2a2f7ce..cdedc6d 100644
--- a/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetUtils.java
+++ b/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetUtils.java
@@ -31,6 +31,7 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
+import java.util.logging.Level;
 import java.util.logging.Logger;
 
 import javax.wsdl.Definition;
@@ -52,9 +53,7 @@ import javax.xml.transform.dom.DOMSource;
 
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
-
 import org.xml.sax.InputSource;
-
 import org.apache.cxf.Bus;
 import org.apache.cxf.catalog.OASISCatalogManager;
 import org.apache.cxf.catalog.OASISCatalogManagerHelper;
@@ -155,6 +154,7 @@ public class WSDLGetUtils {
         } catch (WSDLQueryException wex) {
             throw wex;
         } catch (Exception wex) {
+            LOG.log(Level.SEVERE, wex.getMessage(), wex);
             throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL",
                                                      LOG,
                                                      base), wex);


Mime
View raw message