From 6da3fb5a90dace40e4403672164f71e78a0f1779 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 22 May 2009 06:04:47 +0000 Subject: [PATCH] Fixed FindBugs warnings --- .../channel/socket/http/HttpTunnelingChannelHandler.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelingChannelHandler.java b/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelingChannelHandler.java index 752ed4d97d..d95b493f4b 100644 --- a/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelingChannelHandler.java +++ b/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelingChannelHandler.java @@ -118,6 +118,7 @@ class HttpTunnelingChannelHandler extends SimpleChannelUpstreamHandler { } finally { reconnectLock.unlock(); if (!success) { + assert cause != null; throw cause; } } @@ -145,6 +146,9 @@ class HttpTunnelingChannelHandler extends SimpleChannelUpstreamHandler { session.invalidate(); } catch (Exception e) { // Gulp - https://jira.jboss.org/jira/browse/JBWEB-139 + logger.debug( + "Unexpected exception raised by the Servlet container; " + + "ignoring.", e); } } }