You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/10/26 01:15:50 UTC

svn commit: r1634258 - /tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java

Author: kkolinko
Date: Sat Oct 25 23:15:50 2014
New Revision: 1634258

URL: http://svn.apache.org/r1634258
Log:
Write exception class, for better control.
(When I backport this test to Tomcat 7 the message in this exception is "null", but in Tomcat 8 it is some text. So let's see that what the exception class is).

Modified:
    tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java

Modified: tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java?rev=1634258&r1=1634257&r2=1634258&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java (original)
+++ tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java Sat Oct 25 23:15:50 2014
@@ -371,7 +371,7 @@ public class TestCoyoteAdapter extends T
                             os.flush();
                             Thread.sleep(1000);
                         } catch (Exception e) {
-                            log.info("Exception caught " + e.getMessage());
+                            log.info("Exception caught " + e);
                             try {
                                 // Note if request times out before this
                                 // exception is thrown and the complete call



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