cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1513980 - /cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java
Date Wed, 14 Aug 2013 18:03:56 GMT
Author: dkulp
Date: Wed Aug 14 18:03:56 2013
New Revision: 1513980

URL: http://svn.apache.org/r1513980
Log:
Merged revisions 1513253 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1513253 | dkulp | 2013-08-12 16:53:39 -0400 (Mon, 12 Aug 2013) | 2 lines

  Throw a wrapped version of the real cause so the real exception can be displayed

........

Modified:
    cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java

Modified: cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java?rev=1513980&r1=1513979&r2=1513980&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java
(original)
+++ cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java
Wed Aug 14 18:03:56 2013
@@ -256,7 +256,7 @@ public final class ReflectionUtil {
                     } catch (IllegalAccessException e) {
                         throw new RuntimeException(e);
                     } catch (InvocationTargetException e) {
-                        throw new RuntimeException(e);
+                        throw new RuntimeException(e.getCause());
                     } 
                 }
                 return descriptors.toArray(new PropertyDescriptor[descriptors.size()]);



Mime
View raw message