ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaDataHandler.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaDataHandler.java (file contents):
Revision 1.10 by tdb, Tue May 29 17:02:34 2001 UTC vs.
Revision 1.11 by tdb, Thu Nov 15 13:45:46 2001 UTC

# Line 95 | Line 95 | class CorbaDataHandler extends Thread {
95                      catch (org.omg.CORBA.COMM_FAILURE e) {
96                          // lets stop sending, the client has quit
97                          run = false;
98 <                        _logger.write(toString(), Logger.ERROR, "Connection failure, client shutdown? : "+e);
99 <                        // disconnect the servant above us, or at least try
100 <                        _cchServant.disconnect();
98 >                        _logger.write(toString(), Logger.ERROR, "Connection failure (COMM_FAILURE), client shutdown? : "+e);
99                      }
100 +                    catch (org.omg.CORBA.TRANSIENT e) {
101 +                        // lets stop sending, the client has quit
102 +                        run = false;
103 +                        _logger.write(toString(), Logger.ERROR, "Connection failure (TRANSIENT), client shutdown? : "+e);
104 +                    }
105                  }
106              }
107              catch(InvalidQueueException e) {
# Line 107 | Line 110 | class CorbaDataHandler extends Thread {
110                  _logger.write(toString(), Logger.ERROR, "Queue failure: "+e);
111              }
112          }
113 +        // disconnect the servant above us, or at least try
114 +        _cchServant.disconnect();
115          // if we get here we've been told to stop
116          _logger.write(toString(), Logger.SYSMSG, "Shutting Down");
117          // remove ourselves from the queue

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines