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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostInit.java (file contents):
Revision 1.22 by tdb, Mon Mar 5 02:26:01 2001 UTC vs.
Revision 1.24 by tdb, Mon Mar 5 23:53:39 2001 UTC

# Line 137 | Line 137 | class HostInit extends Thread {
137                          _logger.write(toString(), Logger.DEBUG, " looking for filter- " + filter);
138                          try {
139                              filterRef = FilterHelper.narrow(ReferenceManager.getInstance().getCORBARef("iscream.Filter." + filter));
140 <                        } catch (Exception e) { // THIS SHOULD BE A MORE SPECIFIC EXCEPTION
140 >                        } catch (ComponentCORBAException e) {
141                              _logger.write(toString(), Logger.DEBUG, " unable to find filter- " + filter);
142                          }
143                      }
# Line 151 | Line 151 | class HostInit extends Thread {
151                                               + filterRef.getTCPPort());
152                          }
153                          else {
154 <                            // ...or throw a wobbly
154 >                            // ...or throw a wobbly (and tell the host!)
155 >                            _socketOut.println("ERROR");
156                              throw new IOException("unable to find filter for host");
157                          }
158                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines