/[classpath]/classpath/java/net/ServerSocket.java
ViewVC logotype

Diff of /classpath/java/net/ServerSocket.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by rupp, Wed Apr 30 14:10:31 2003 UTC revision 1.19 by mkoch, Fri May 2 06:12:08 2003 UTC
# Line 168  public class ServerSocket Line 168  public class ServerSocket
168      impl.create(true);      impl.create(true);
169    
170      // bind to address/port      // bind to address/port
171      try {      try
172        impl.bind(bindAddr, port);        {
173      } catch (IOException exception) {          impl.bind(bindAddr, port);
174        impl.close();        }
175        throw exception;      catch (IOException exception)
176      } catch (RuntimeException exception) {        {
177        impl.close();          impl.close();
178        throw exception;          throw exception;
179      } catch (Error error) {        }
180        impl.close();      catch (RuntimeException exception)
181        throw error;        {
182      }          impl.close();
183            throw exception;
184          }
185        catch (Error error)
186          {
187            impl.close();
188            throw error;
189          }
190    
191      // listen on socket      // listen on socket
192      try {      try
193        impl.listen(backlog);        {
194      } catch (IOException exception) {          impl.listen(backlog);
195        impl.close();        }
196        throw exception;      catch (IOException exception)
197      } catch (RuntimeException exception) {        {
198        impl.close();          impl.close();
199        throw exception;          throw exception;
200      } catch (Error error) {        }
201        impl.close();      catch (RuntimeException exception)
202        throw error;        {
203      }          impl.close();
204            throw exception;
205          }
206        catch (Error error)
207          {
208            impl.close();
209            throw error;
210          }
211    }    }
212    
213    /**    /**

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26