commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r1510015 - /commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/CloningProvider.java
Date Sat, 03 Aug 2013 15:47:43 GMT
Author: jcarman
Date: Sat Aug  3 15:47:43 2013
New Revision: 1510015

URL: http://svn.apache.org/r1510015
Log:
Preserving stack trace in exception.

Modified:
    commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/CloningProvider.java

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/CloningProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/CloningProvider.java?rev=1510015&r1=1510014&r2=1510015&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/CloningProvider.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/CloningProvider.java
Sat Aug  3 15:47:43 2013
@@ -90,7 +90,7 @@ public class CloningProvider<T extends C
         catch (NoSuchMethodException e)
         {
             throw new ObjectProviderException(
-                    String.format("Class %s does not have a clone() method (should never
happen).", cloneable.getClass().getName()));
+                    String.format("Class %s does not have a clone() method (should never
happen).", cloneable.getClass().getName()), e);
         }
     }
 



Mime
View raw message