You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jc...@apache.org on 2013/07/30 05:47:07 UTC

svn commit: r1508289 - /commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/DuckTypingInvoker.java

Author: jcarman
Date: Tue Jul 30 03:47:07 2013
New Revision: 1508289

URL: http://svn.apache.org/r1508289
Log:
Fixing Sonar issues.

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

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/DuckTypingInvoker.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/DuckTypingInvoker.java?rev=1508289&r1=1508288&r2=1508289&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/DuckTypingInvoker.java (original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/DuckTypingInvoker.java Tue Jul 30 03:47:07 2013
@@ -98,7 +98,7 @@ public class DuckTypingInvoker implement
         catch( NoSuchMethodException e )
         {
             throw new UnsupportedOperationException(
-                    "Target type " + targetClass.getName() + " does not have a method matching " + method + ".");
+                    "Target type " + targetClass.getName() + " does not have a method matching " + method + ".", e);
         }
     }
 }