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

Diff of /classpath/java/net/DatagramSocket.java

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

revision 1.22 by rupp, Wed Apr 30 14:10:31 2003 UTC revision 1.23 by mkoch, Fri May 2 06:12:08 2003 UTC
# Line 181  public class DatagramSocket Line 181  public class DatagramSocket
181      impl = new PlainDatagramSocketImpl();      impl = new PlainDatagramSocketImpl();
182      impl.create();      impl.create();
183    
184      if (address != null) {      if (address != null)
185        try {        {
186          local_addr = tmp.getAddress ();          try
187          impl.bind(tmp.getPort (), tmp.getAddress ());            {
188        } catch (SocketException exception) {              local_addr = tmp.getAddress ();
189          impl.close();              impl.bind(tmp.getPort (), tmp.getAddress ());
190          throw exception;            }
191        } catch (RuntimeException exception) {          catch (SocketException exception)
192          impl.close();            {
193          throw exception;              impl.close();
194        } catch (Error error) {              throw exception;
195          impl.close();            }
196          throw error;          catch (RuntimeException exception)
197              {
198                impl.close();
199                throw exception;
200              }
201            catch (Error error)
202              {
203                impl.close();
204                throw error;
205              }
206        }        }
     }  
207    }    }
208        
209    /**    /**

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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