cxf-commits mailing list archives

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

URL: http://svn.apache.org/r1513989
Log:
Merged revisions 1513980 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes

........
  r1513980 | dkulp | 2013-08-14 14:03:56 -0400 (Wed, 14 Aug 2013) | 10 lines

  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.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java

Modified: cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java?rev=1513989&r1=1513988&r2=1513989&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java
(original)
+++ cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/common/util/ReflectionUtil.java
Wed Aug 14 18:06:22 2013
@@ -236,7 +236,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