cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1180651 - in /cxf/branches/2.3.x-fixes: ./ rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/JAXBElementProvider.java
Date Sun, 09 Oct 2011 17:00:54 GMT
Author: sergeyb
Date: Sun Oct  9 17:00:53 2011
New Revision: 1180651

URL: http://svn.apache.org/viewvc?rev=1180651&view=rev
Log:
Merged revisions 1180650 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/branches/2.4.x-fixes

................
  r1180650 | sergeyb | 2011-10-09 17:57:40 +0100 (Sun, 09 Oct 2011) | 9 lines
  
  Merged revisions 1180649 via svnmerge from 
  https://svn.apache.org/repos/asf/cxf/trunk
  
  ........
    r1180649 | sergeyb | 2011-10-09 17:54:55 +0100 (Sun, 09 Oct 2011) | 1 line
    
    [CXF-3849] Removing printing the stack trace
  ........
................

Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
    cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/JAXBElementProvider.java

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Oct  9 17:00:53 2011
@@ -1,2 +1,2 @@
-/cxf/branches/2.4.x-fixes:1179850
-/cxf/trunk:1179846
+/cxf/branches/2.4.x-fixes:1179850,1180650
+/cxf/trunk:1179846,1180649

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java?rev=1180651&r1=1180650&r2=1180651&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
(original)
+++ cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
Sun Oct  9 17:00:53 2011
@@ -88,7 +88,7 @@ public abstract class AbstractJAXBProvid
     
     protected static final ResourceBundle BUNDLE = BundleUtils.getBundle(AbstractJAXBProvider.class);
 
-    private static final Logger LOG = LogUtils.getL7dLogger(AbstractJAXBProvider.class);
+    protected static final Logger LOG = LogUtils.getL7dLogger(AbstractJAXBProvider.class);
     private static final String JAXB_DEFAULT_NAMESPACE = "##default";
     private static final String JAXB_DEFAULT_NAME = "##default";
     

Modified: cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/JAXBElementProvider.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/JAXBElementProvider.java?rev=1180651&r1=1180650&r2=1180651&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/JAXBElementProvider.java
(original)
+++ cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/JAXBElementProvider.java
Sun Oct  9 17:00:53 2011
@@ -161,7 +161,8 @@ public class JAXBElementProvider extends
         } catch (WebApplicationException e) {
             throw e;
         } catch (Exception e) {
-            e.printStackTrace();
+            LOG.warning("Exception has occurred: " + e.getClass().getName() 
+                    + ", message: " + e.getMessage());
             throw new WebApplicationException(e);        
         }
         // unreachable



Mime
View raw message