natPlainDatagramSocketImpl.cc: Change various JvThrow' calls to throw'.
2000-09-05 Bryce McKinlay <bryce@albatross.co.nz> * java/net/natPlainDatagramSocketImpl.cc: Change various `JvThrow' calls to `throw'. (send): Undo last patch. Remove the label only. (mcastGrp): Ditto. * java/net/natPlainSocketImpl.cc: Change various `JvThrow' calls to `throw'. * java/net/natInetAdress.cc: Ditto. From-SVN: r36165
This commit is contained in:
committed by
Bryce McKinlay
parent
2f31ed7e88
commit
a3bcdaf9e9
@@ -256,7 +256,7 @@ java::net::InetAddress::lookup (jstring host, java::net::InetAddress* iaddr,
|
||||
if (ex != NULL)
|
||||
{
|
||||
if (iaddr == NULL || iaddr->address == NULL)
|
||||
JvThrow (ex);
|
||||
throw ex;
|
||||
hptr = NULL;
|
||||
}
|
||||
}
|
||||
@@ -268,7 +268,7 @@ java::net::InetAddress::lookup (jstring host, java::net::InetAddress* iaddr,
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
JvThrow (new java::net::UnknownHostException(host));
|
||||
throw new java::net::UnknownHostException(host);
|
||||
}
|
||||
int count;
|
||||
if (all)
|
||||
|
||||
Reference in New Issue
Block a user