OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:unknownhostexception
(Results
1 - 25
of
118
) sorted by null
1
2
3
4
5
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
UnknownHostExceptionTest.java
20
import java.net.
UnknownHostException
;
27
* @tests java.net.
UnknownHostException
#
UnknownHostException
()
32
throw new
UnknownHostException
();
35
} catch (
UnknownHostException
e) {
41
* @tests java.net.
UnknownHostException
#
UnknownHostException
(java.lang.String)
46
throw new
UnknownHostException
("test");
49
} catch (
UnknownHostException
e) {
InetAddressTest.java
26
import java.net.
UnknownHostException
;
48
fail("An
UnknownHostException
should have been thrown");
49
} catch (
UnknownHostException
e) {
64
public void test_getAddress() throws
UnknownHostException
{
72
} catch (java.net.
UnknownHostException
e) {
175
public void test_isMulticastAddress() throws
UnknownHostException
{
185
public void test_isAnyLocalAddress() throws
UnknownHostException
{
195
public void test_isLinkLocalAddress() throws
UnknownHostException
{
205
public void test_isLoopbackAddress() throws
UnknownHostException
{
217
public void test_isSiteLocalAddress() throws
UnknownHostException
{
[
all
...]
/libcore/luni/src/main/java/libcore/io/
GaiException.java
19
import java.net.
UnknownHostException
;
57
public
UnknownHostException
rethrowAsUnknownHostException(String detailMessage) throws
UnknownHostException
{
58
UnknownHostException
newException = new
UnknownHostException
(detailMessage);
63
public
UnknownHostException
rethrowAsUnknownHostException() throws
UnknownHostException
{
/libcore/luni/src/main/java/java/net/
UnknownHostException.java
25
public class
UnknownHostException
extends IOException {
30
* Constructs a new {@code
UnknownHostException
} instance with no detail message.
33
public
UnknownHostException
() {
37
* Constructs a new {@code
UnknownHostException
} instance with the given detail message.
44
public
UnknownHostException
(String detailMessage) {
InetAddress.java
198
throws
UnknownHostException
{
211
* {@code
UnknownHostException
} is thrown. If the host name is a literal IP
217
* @throws
UnknownHostException
if the address lookup fails.
219
public static InetAddress[] getAllByName(String host) throws
UnknownHostException
{
227
private static InetAddress[] getAllByNameImpl(String host) throws
UnknownHostException
{
237
throw new
UnknownHostException
("Deprecated IPv4 address format: " + host);
245
private static InetAddress makeInetAddress(byte[] bytes, String hostName) throws
UnknownHostException
{
291
* @throws
UnknownHostException
294
public static InetAddress getByName(String host) throws
UnknownHostException
{
314
} catch (
UnknownHostException
ex)
[
all
...]
Inet6Address.java
82
* @throws
UnknownHostException
86
throws
UnknownHostException
{
88
throw new
UnknownHostException
("Not an IPv6 address: " + Arrays.toString(addr));
110
* @throws
UnknownHostException
116
NetworkInterface nif) throws
UnknownHostException
{
143
//
UnknownHostException
.
145
throw new
UnknownHostException
("Scope id not found for address: " + Arrays.toString(addr));
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
SSLSocketFactoryImpl.java
8
import java.net.
UnknownHostException
;
26
throw new
UnknownHostException
("incorrect host");
50
public Socket createSocket(String arg0, int arg1) throws IOException,
UnknownHostException
{
68
public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException,
UnknownHostException
{
/frameworks/base/tests/CoreTests/android/core/
InetAddrTest.java
22
import java.net.
UnknownHostException
;
66
} catch (
UnknownHostException
ex) {
73
} catch (
UnknownHostException
ex) {
80
} catch (
UnknownHostException
ex) {
95
} catch (
UnknownHostException
ex) {
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSessionBindingListenerTest.java
29
import java.net.
UnknownHostException
;
57
* @throws
UnknownHostException
61
public void test_valueBound() throws
UnknownHostException
, IOException,
73
* @throws
UnknownHostException
76
public void test_valueUnbound() throws
UnknownHostException
, IOException {
SSLSocketFactoryTest.java
21
import java.net.
UnknownHostException
;
108
fail("
UnknownHostException
wasn't thrown: " + "bla-bla");
109
} catch (
UnknownHostException
uhe) {
112
fail(e + " was thrown instead of
UnknownHostException
");
SSLSocketTest.java
24
import java.net.
UnknownHostException
;
63
public void testConstructor_02() throws
UnknownHostException
, IOException {
91
public void testConstructor_03() throws
UnknownHostException
, IOException {
140
public void testConstructor_04() throws
UnknownHostException
, IOException {
166
} catch (
UnknownHostException
expected) {
174
public void testConstructor_05() throws
UnknownHostException
, IOException {
211
} catch (
UnknownHostException
expected) {
286
public void test_NeedClientAuth() throws
UnknownHostException
, IOException {
299
public void test_WantClientAuth() throws
UnknownHostException
, IOException {
621
private SSLSocket getSSLSocket(String host, int port) throws
UnknownHostException
, IOException
[
all
...]
/libcore/luni/src/main/java/javax/net/
DefaultSocketFactory.java
23
import java.net.
UnknownHostException
;
39
public Socket createSocket(String host, int port) throws IOException,
UnknownHostException
{
45
throws IOException,
UnknownHostException
{
SocketFactory.java
24
import java.net.
UnknownHostException
;
80
* @throws
UnknownHostException
85
UnknownHostException
;
106
* @throws
UnknownHostException
111
throws IOException,
UnknownHostException
;
/libcore/luni/src/main/java/javax/net/ssl/
DefaultSSLSocketFactory.java
24
import java.net.
UnknownHostException
;
56
public Socket createSocket(String host, int port) throws IOException,
UnknownHostException
{
62
throws IOException,
UnknownHostException
{
/frameworks/base/telephony/java/com/android/internal/telephony/
DataCallState.java
31
import java.net.
UnknownHostException
;
143
throw new
UnknownHostException
("Non-numeric ip addr=" + addr);
156
throw new
UnknownHostException
("no address for ifname=" + ifname);
166
throw new
UnknownHostException
("Non-numeric dns addr=" + addr);
181
throw new
UnknownHostException
("Non-numeric dns addr=" + dnsAddr);
188
throw new
UnknownHostException
("Empty dns response and no system default dns");
205
throw new
UnknownHostException
("Non-numeric gateway addr=" + addr);
213
} catch (
UnknownHostException
e) {
214
Log.d(LOG_TAG, "setLinkProperties:
UnknownHostException
" + e);
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
ServerSocketFactoryTest.java
28
import java.net.
UnknownHostException
;
80
public ServerSocket createServerSocket(int port) throws IOException,
UnknownHostException
{
86
throws IOException,
UnknownHostException
{
SocketFactoryTest.java
28
import java.net.
UnknownHostException
;
85
public Socket createSocket(String host, int port) throws IOException,
UnknownHostException
{
91
throws IOException,
UnknownHostException
{
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLSocketFactoryImpl.java
22
import java.net.
UnknownHostException
;
63
public Socket createSocket(String host, int port) throws IOException,
UnknownHostException
{
68
throws IOException,
UnknownHostException
{
SSLSocketFactoryImpl.java
23
import java.net.
UnknownHostException
;
113
throws IOException,
UnknownHostException
{
127
UnknownHostException
{
/libcore/luni/src/test/java/libcore/java/net/
OldAuthenticatorTest.java
23
import java.net.
UnknownHostException
;
28
public void test_setDefault() throws
UnknownHostException
{
/libcore/luni/src/test/java/tests/api/javax/net/
SocketFactoryTest.java
30
import java.net.
UnknownHostException
;
99
fail("
UnknownHostException
wasn't thrown");
100
} catch (
UnknownHostException
uhe) {
103
fail(e + " was thrown instead of
UnknownHostException
");
256
fail("
UnknownHostException
wasn't thrown");
257
} catch (
UnknownHostException
uhe) {
260
fail(e + " was thrown instead of
UnknownHostException
");
340
public Socket createSocket(String host, int port) throws IOException,
UnknownHostException
{
346
throws IOException,
UnknownHostException
{
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLSocketTest.java
23
import java.net.
UnknownHostException
;
112
UnknownHostException
{
126
int clientPort) throws IOException,
UnknownHostException
{
/external/apache-http/src/org/apache/http/conn/scheme/
LayeredSocketFactory.java
36
import java.net.
UnknownHostException
;
62
* @throws
UnknownHostException
if the IP address of the host cannot be
70
) throws IOException,
UnknownHostException
;
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/
IRCProxyWebSocket.java
8
import java.net.
UnknownHostException
;
69
} catch (
UnknownHostException
e) {
/frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pInfo.java
23
import java.net.
UnknownHostException
;
89
} catch (
UnknownHostException
e) {}
Completed in 659 milliseconds
1
2
3
4
5