cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1087221 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/SourceProvider.java
Date Thu, 31 Mar 2011 09:01:14 GMT
Author: sergeyb
Date: Thu Mar 31 09:01:14 2011
New Revision: 1087221

URL: http://svn.apache.org/viewvc?rev=1087221&view=rev
Log:
Fixing compilation failure to do with IOException having no constructor accepting Throwable
in 1.5

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/SourceProvider.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/SourceProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/SourceProvider.java?rev=1087221&r1=1087220&r2=1087221&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/SourceProvider.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/SourceProvider.java
Thu Mar 31 09:01:14 2011
@@ -133,7 +133,7 @@ public class SourceProvider extends Abst
             StaxUtils.copy(input, out);
             return out.getInputStream();
         } catch (XMLStreamException ex) {
-            throw new IOException(ex);
+            throw new IOException("XMLStreamException:" + ex.getMessage());
         } finally {
             out.close();
         }



Mime
View raw message