You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/12/11 14:55:37 UTC
svn commit: r1719420 -
/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
Author: markt
Date: Fri Dec 11 13:55:37 2015
New Revision: 1719420
URL: http://svn.apache.org/viewvc?rev=1719420&view=rev
Log:
Can't use Java 7 syntax in Tomcat 7
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java?rev=1719420&r1=1719419&r2=1719420&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java Fri Dec 11 13:55:37 2015
@@ -524,7 +524,9 @@ public abstract class WsRemoteEndpointIm
Future<Void> f = sendObjectByFuture(obj);
try {
f.get();
- } catch (InterruptedException | ExecutionException e) {
+ } catch (InterruptedException e) {
+ handleSendFailureWithEncode(e);
+ } catch (ExecutionException e) {
handleSendFailureWithEncode(e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org