cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r656729 - /cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
Date Thu, 15 May 2008 16:46:33 GMT
Author: dkulp
Date: Thu May 15 09:46:33 2008
New Revision: 656729

URL: http://svn.apache.org/viewvc?rev=656729&view=rev
Log:
Spit out a slightly more informative error message

Modified:
    cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java

Modified: cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java?rev=656729&r1=656728&r2=656729&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
(original)
+++ cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
Thu May 15 09:46:33 2008
@@ -198,7 +198,7 @@
         } 
         // checking the protocol    
         if (!protocol.equals(ref.getProtocol())) {
-            throw new IOException("Protocol mismatch: "
+            throw new IOException("Protocol mismatch for port " + port + ": "
                         + "engine's protocol is " + ref.getProtocol()
                         + ", the url protocol is " + protocol);
         }



Mime
View raw message