tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1426007 - /tomcat/trunk/java/org/apache/tomcat/websocket/PojoMessageHandlerAsyncBase.java
Date Wed, 26 Dec 2012 20:19:06 GMT
Author: markt
Date: Wed Dec 26 20:19:06 2012
New Revision: 1426007

URL: http://svn.apache.org/viewvc?rev=1426007&view=rev
Log:
Don't swallow nested exception

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/PojoMessageHandlerAsyncBase.java

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/PojoMessageHandlerAsyncBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/PojoMessageHandlerAsyncBase.java?rev=1426007&r1=1426006&r2=1426007&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/PojoMessageHandlerAsyncBase.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/PojoMessageHandlerAsyncBase.java Wed Dec
26 20:19:06 2012
@@ -55,7 +55,7 @@ public abstract class PojoMessageHandler
         try {
             result = method.invoke(pojo, parameters);
         } catch (IllegalAccessException | InvocationTargetException e) {
-            throw new IllegalArgumentException();
+            throw new IllegalArgumentException(e);
         }
         processResult(result);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message