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 |
|
} |
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 |
|
} |