[jboss-remoting-commits] JBoss Remoting SVN: r6295 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/bisocket.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Tue Mar 22 15:12:42 EDT 2011


Author: ron.sigal at jboss.com
Date: 2011-03-22 15:12:42 -0400 (Tue, 22 Mar 2011)
New Revision: 6295

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java
Log:
JBREM-1276: Added catch clause for Error.


Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java	2011-03-22 19:10:47 UTC (rev 6294)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java	2011-03-22 19:12:42 UTC (rev 6295)
@@ -1202,8 +1202,14 @@
                   log.error("Failed to accept socket connection", e);
                else
                   return;
-
             }
+            catch (Error e)
+            {
+               if (running)
+                  log.error("error", e);
+               else
+                  return;  
+            }
          }
       }
 



More information about the jboss-remoting-commits mailing list