[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/socket ...

Ovidiu Feodorov ovidiu.feodorov at jboss.com
Wed Jan 24 20:07:10 EST 2007


  User: ovidiu  
  Date: 07/01/24 20:07:10

  Modified:    src/main/org/jboss/remoting/transport/socket   Tag:
                        remoting_2_x MicroSocketClientInvoker.java
                        ServerThread.java
  Log:
  various minor reformatting and logging improvments in preparation of http://jira.jboss.org/jira/browse/JBREM-689
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.16.2.12 +4 -2      JBossRemoting/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MicroSocketClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java,v
  retrieving revision 1.16.2.11
  retrieving revision 1.16.2.12
  diff -u -b -r1.16.2.11 -r1.16.2.12
  --- MicroSocketClientInvoker.java	23 Jan 2007 09:39:03 -0000	1.16.2.11
  +++ MicroSocketClientInvoker.java	25 Jan 2007 01:07:10 -0000	1.16.2.12
  @@ -32,7 +32,7 @@
    *
    * @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
    * @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
  - * @version $Revision: 1.16.2.11 $
  + * @version $Revision: 1.16.2.12 $
    */
   public class MicroSocketClientInvoker extends RemoteClientInvoker
   {
  @@ -318,7 +318,9 @@
            }
            catch (Exception e)
            {
  -            throw new CannotConnectException("Can not get connection to server. Problem establishing socket connection for locator - " + locator, e);
  +            throw new CannotConnectException(
  +               "Can not get connection to server. Problem establishing " +
  +               "socket connection for " + locator, e);
            }
   
            long end = System.currentTimeMillis() - start;
  
  
  
  1.29.2.12 +3 -3      JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerThread.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerThread.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerThread.java,v
  retrieving revision 1.29.2.11
  retrieving revision 1.29.2.12
  diff -u -b -r1.29.2.11 -r1.29.2.12
  --- ServerThread.java	23 Jan 2007 12:07:35 -0000	1.29.2.11
  +++ ServerThread.java	25 Jan 2007 01:07:10 -0000	1.29.2.12
  @@ -62,7 +62,7 @@
    * @author <a href="mailto:tom at jboss.org">Tom Elrod</a>
    * @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
    *
  - * @version $Revision: 1.29.2.11 $
  + * @version $Revision: 1.29.2.12 $
    */
   public class ServerThread extends Thread
   {
  @@ -413,7 +413,7 @@
            {
               if (!shutdown && trace)
               {
  -               log.trace("EOFException received. This is likely due to client finishing communication.");
  +               log.trace("EOFException received. This is likely due to client finishing communication.", eof);
               }
               running = false;
            }
  @@ -421,7 +421,7 @@
            {
               if (!shutdown && trace)
               {
  -               log.trace("SocketException received. This is likely due to client disconnecting and resetting connection.");
  +               log.trace("SocketException received. This is likely due to client disconnecting and resetting connection.", sex);
               }
               running = false;
            }
  
  
  



More information about the jboss-cvs-commits mailing list