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 08:03:06 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 86c321a23 -> dfac82b0d


[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/dfac82b0
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/dfac82b0
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/dfac82b0

Branch: refs/heads/2.7.x-fixes
Commit: dfac82b0d0547f90aa761c2d2ee8118872927b2c
Parents: 86c321a
Author: Andrei Shakirin <andrei.shakirin@gmail.com>
Authored: Tue Sep 23 10:02:48 2014 +0200
Committer: Andrei Shakirin <andrei.shakirin@gmail.com>
Committed: Tue Sep 23 10:02:48 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/dfac82b0/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 b7f142d..e39786e 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;
@@ -156,6 +155,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