/libcore/luni/src/main/java/android/system/ |
D | GaiException.java | 19 import java.net.UnknownHostException; 71 …public UnknownHostException rethrowAsUnknownHostException(String detailMessage) throws UnknownHost… in rethrowAsUnknownHostException() 72 UnknownHostException newException = new UnknownHostException(detailMessage); in rethrowAsUnknownHostException() 80 public UnknownHostException rethrowAsUnknownHostException() throws UnknownHostException { in rethrowAsUnknownHostException()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | UnknownHostExceptionTest.java | 20 import java.net.UnknownHostException; 32 throw new UnknownHostException(); in test_Constructor() 35 } catch (UnknownHostException e) { in test_Constructor() 46 throw new UnknownHostException("test"); in test_ConstructorLjava_lang_String() 49 } catch (UnknownHostException e) { in test_ConstructorLjava_lang_String()
|
D | InetAddressTest.java | 26 import java.net.UnknownHostException; 44 } catch (UnknownHostException e) { in test_getByName_exceptionContainsUsefulMessage() 58 public void test_getAddress() throws UnknownHostException { in test_getAddress() 66 } catch (java.net.UnknownHostException e) { in test_getAddress() 152 public void test_isMulticastAddress() throws UnknownHostException { in test_isMulticastAddress() 162 public void test_isAnyLocalAddress() throws UnknownHostException { in test_isAnyLocalAddress() 172 public void test_isLinkLocalAddress() throws UnknownHostException { in test_isLinkLocalAddress() 182 public void test_isLoopbackAddress() throws UnknownHostException { in test_isLoopbackAddress() 194 public void test_isSiteLocalAddress() throws UnknownHostException { in test_isSiteLocalAddress() 210 public void test_isMCVerify() throws UnknownHostException { in test_isMCVerify() [all …]
|
D | Inet6AddressTest.java | 25 import java.net.UnknownHostException; 684 public void test_getByAddressLString$BI() throws UnknownHostException { in test_getByAddressLString$BI() 688 } catch (UnknownHostException uhe) { in test_getByAddressLString$BI() 695 } catch (UnknownHostException uhe) { in test_getByAddressLString$BI() 710 throws UnknownHostException { in test_getByAddressLString$BLNetworkInterface() 715 } catch (UnknownHostException uhe) { in test_getByAddressLString$BLNetworkInterface() 722 } catch (UnknownHostException uhe) { in test_getByAddressLString$BLNetworkInterface() 743 public void test_getScopeID() throws UnknownHostException { in test_getScopeID() 759 public void test_getScopedInterface() throws UnknownHostException { in test_getScopedInterface() 768 public void test_hashCode() throws UnknownHostException { in test_hashCode()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6Address.java | 271 throws UnknownHostException in init() 426 } catch (UnknownHostException e) {} /* cant happen if ifname is null */ in Inet6Address() 430 throws UnknownHostException in Inet6Address() 437 throws UnknownHostException in Inet6Address() 465 throws UnknownHostException in getByAddress() 477 throw new UnknownHostException("addr is of illegal length"); in getByAddress() 498 throws UnknownHostException in getByAddress() 510 throw new UnknownHostException("addr is of illegal length"); in getByAddress() 514 throws UnknownHostException in initstr() 519 throw new UnknownHostException ("no such interface " + ifname); in initstr() [all …]
|
D | InetAddress.java | 281 throws UnknownHostException { 285 throws UnknownHostException { 676 } catch (UnknownHostException e) { in getHostFromNameService() 1045 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { in getByAddress() 1052 throws UnknownHostException { in getByAddress() 1071 throw new UnknownHostException("addr is of illegal length"); in getByAddress() 1104 throws UnknownHostException { in getByName() 1149 throws UnknownHostException { in getAllByName() 1401 throws UnknownHostException { in getByAddress() 1437 public static InetAddress getLocalHost() throws UnknownHostException { in getLocalHost() [all …]
|
D | UnknownHostException.java | 37 class UnknownHostException extends IOException { class 46 public UnknownHostException(String host) { in UnknownHostException() method in UnknownHostException 54 public UnknownHostException() { in UnknownHostException() method in UnknownHostException
|
D | Inet6AddressImpl.java | 90 public InetAddress[] lookupAllHostAddr(String host, int netId) throws UnknownHostException { in lookupAllHostAddr() 114 throws UnknownHostException { in lookupHostByName() 124 throw new UnknownHostException((String) cachedResult); in lookupHostByName() 161 public String getHostByAddr(byte[] addr) throws UnknownHostException { in getHostByAddr() 340 private String getHostByAddr0(byte[] addr) throws UnknownHostException { in getHostByAddr0() 346 UnknownHostException uhe = new UnknownHostException(hostaddr.toString()); in getHostByAddr0()
|
D | InetAddressImpl.java | 48 InetAddress[] lookupAllHostAddr(String hostname, int netId) throws UnknownHostException; in lookupAllHostAddr() 53 String getHostByAddr(byte[] addr) throws UnknownHostException; in getHostByAddr()
|
/libcore/ojluni/annotations/sdk/nullability/java/net/ |
D | InetAddress.annotated.java | 73 …util.Nullable java.lang.String host, byte[] addr) throws java.net.UnknownHostException { throw new… in getByAddress() 75 …ame(@libcore.util.Nullable java.lang.String host) throws java.net.UnknownHostException { throw new… in getByName() 77 …ame(@libcore.util.Nullable java.lang.String host) throws java.net.UnknownHostException { throw new… in getAllByName() 81 …ic java.net.InetAddress getByAddress(byte[] addr) throws java.net.UnknownHostException { throw new… in getByAddress() 83 …public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException { throw new… in getLocalHost() 85 …e.util.Nullable java.lang.String host, int netId) throws java.net.UnknownHostException { throw new… in getByNameOnNet() 87 …e.util.Nullable java.lang.String host, int netId) throws java.net.UnknownHostException { throw new… in getAllByNameOnNet()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Inet6Address.java | 48 throws java.net.UnknownHostException { in Inet6Address() 53 throws java.net.UnknownHostException { in Inet6Address() 59 throws java.net.UnknownHostException { in getByAddress() 64 java.lang.String host, byte[] addr, int scope_id) throws java.net.UnknownHostException { in getByAddress() 69 throws java.net.UnknownHostException { in initstr() 74 throws java.net.UnknownHostException { in initif() 83 throws java.net.UnknownHostException { in deriveNumericScope() 87 private int deriveNumericScope(java.lang.String ifname) throws java.net.UnknownHostException { in deriveNumericScope() 248 void init(byte[] addr, java.net.NetworkInterface nif) throws java.net.UnknownHostException { in init()
|
D | InetAddress.java | 134 throws java.net.UnknownHostException { in getByAddress() 139 java.lang.String host, byte[] addr, int scopeId) throws java.net.UnknownHostException { in getByAddress() 144 throws java.net.UnknownHostException { in getByName() 149 throws java.net.UnknownHostException { in getAllByName() 158 throws java.net.UnknownHostException { in getByAddress() 162 public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException { in getLocalHost() 218 throws java.net.UnknownHostException { in getByNameOnNet() 224 throws java.net.UnknownHostException { in getAllByNameOnNet()
|
D | Inet6AddressImpl.java | 37 throws java.net.UnknownHostException { in lookupAllHostAddr() 42 throws java.net.UnknownHostException { in lookupHostByName() 46 public java.lang.String getHostByAddr(byte[] addr) throws java.net.UnknownHostException { in getHostByAddr() 80 private java.lang.String getHostByAddr0(byte[] addr) throws java.net.UnknownHostException { in getHostByAddr0()
|
/libcore/ojluni/src/main/java/javax/net/ |
D | SocketFactory.java | 33 import java.net.UnknownHostException; 164 throws IOException, UnknownHostException; in createSocket() 196 throws IOException, UnknownHostException; in createSocket() 277 throws IOException, UnknownHostException in createSocket() 290 throws IOException, UnknownHostException in createSocket()
|
/libcore/ojluni/src/main/java/sun/net/spi/nameservice/ |
D | NameService.java | 28 import java.net.UnknownHostException; 34 …ublic java.net.InetAddress[] lookupAllHostAddr(String host, int netId) throws UnknownHostException; in lookupAllHostAddr() 35 public String getHostByAddr(byte[] addr) throws UnknownHostException; in getHostByAddr()
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | SSLSocketFactoryImpl.java | 8 import java.net.UnknownHostException; 26 throw new UnknownHostException("incorrect host"); in createSocket() 50 public Socket createSocket(String arg0, int arg1) throws IOException, UnknownHostException { in createSocket() 68 …ocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException, UnknownHostException { in createSocket()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | InetAddress.annotated.java | 78 … getByAddress(java.lang.String host, byte[] addr) throws java.net.UnknownHostException { throw new… in getByAddress() 80 ….net.InetAddress getByName(java.lang.String host) throws java.net.UnknownHostException { throw new… in getByName() 82 …InetAddress[] getAllByName(java.lang.String host) throws java.net.UnknownHostException { throw new… in getAllByName() 86 public static java.net.InetAddress getByAddress(byte[] addr) throws java.net.UnknownHostException {… in getByAddress() 88 public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException { throw new … in getLocalHost() 104 … getByNameOnNet(java.lang.String host, int netId) throws java.net.UnknownHostException { throw new… in getByNameOnNet() 108 …tAllByNameOnNet(java.lang.String host, int netId) throws java.net.UnknownHostException { throw new… in getAllByNameOnNet()
|
D | Inet6Address.annotated.java | 36 …host, byte[] addr, java.net.NetworkInterface nif) throws java.net.UnknownHostException { throw new… in getByAddress() 38 …java.lang.String host, byte[] addr, int scope_id) throws java.net.UnknownHostException { throw new… in getByAddress()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionBindingListenerTest.java | 29 import java.net.UnknownHostException; 61 public void test_valueBound() throws UnknownHostException, IOException, in test_valueBound() 76 public void test_valueUnbound() throws UnknownHostException, IOException { in test_valueUnbound()
|
D | SSLSocketTest.java | 23 import java.net.UnknownHostException; 164 } catch (UnknownHostException expected) { in testConstructor_StringI() 205 } catch (UnknownHostException expected) { in testConstructor_StringIInetAddressI() 281 public void test_NeedClientAuth() throws UnknownHostException, IOException { in test_NeedClientAuth() 294 public void test_WantClientAuth() throws UnknownHostException, IOException { in test_WantClientAuth() 615 private SSLSocket getSSLSocket(String host, int port) throws UnknownHostException, IOException { in getSSLSocket() 628 throws UnknownHostException, IOException { in getSSLSocket()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | DnsBenchmark.java | 20 import java.net.UnknownHostException; 44 } catch (UnknownHostException ex) { in timeDns()
|
/libcore/luni/src/main/java/libcore/net/http/ |
D | Dns.java | 26 import java.net.UnknownHostException; 48 … @NonNull List<@NonNull InetAddress> lookup(@Nullable String hostname) throws UnknownHostException; in lookup()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldAuthenticatorTest.java | 23 import java.net.UnknownHostException; 28 public void test_setDefault() throws UnknownHostException { in test_setDefault()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ |
D | SocketFactoryTest.java | 30 import java.net.UnknownHostException; 70 } catch (UnknownHostException expected) { in test_createSocket_StringI() 225 } catch (UnknownHostException expected) { in test_createSocket_05() 286 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 292 throws IOException, UnknownHostException { in createSocket()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetworkClient.java | 31 import java.net.UnknownHostException; 133 throws IOException, UnknownHostException { in openServer() 152 throws IOException, UnknownHostException { in doConnect()
|