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 |
/** |
/** |