cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [4/4] git commit: [/CXF-6019]: original exception isn't logged by exceptions in WSDL parser
Date Tue, 07 Oct 2014 16:57:12 GMT
[/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/94022f9c
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/94022f9c
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/94022f9c

Branch: refs/heads/3.0.x-fixes
Commit: 94022f9c2b089fa3e85072936d600abc57666429
Parents: 6ea2061
Author: Andrei Shakirin <andrei.shakirin@gmail.com>
Authored: Tue Sep 23 09:34:30 2014 +0200
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Oct 7 12:57:02 2014 -0400

----------------------------------------------------------------------
 .../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/94022f9c/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