Home
last modified time | relevance | path

Searched refs:ConnectException (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DConnectException.java37 public class ConnectException extends SocketException { class
47 public ConnectException(String msg) { in ConnectException() method in ConnectException
54 public ConnectException() {} in ConnectException() method in ConnectException
58 public ConnectException(String msg, Throwable cause) { in ConnectException() method in ConnectException
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DConnectExceptionTest.java20 import java.net.ConnectException;
29 assertNull("Wrong message", new ConnectException().getMessage()); in test_Constructor()
30 assertEquals("Wrong message", "message", new ConnectException("message").getMessage()); in test_Constructor()
DSocketTest.java23 import java.net.ConnectException;
327 } catch (ConnectException e) { in test_connectLjava_net_SocketAddress()
338 } catch (ConnectException e) { in test_connectLjava_net_SocketAddress()
438 } catch (ConnectException e) { in test_connectLjava_net_SocketAddressI()
470 } catch (ConnectException e) { in test_connectLjava_net_SocketAddressI()
DServerSocketTest.java32 import java.net.ConnectException;
584 } catch (ConnectException ex) { in test_bindLjava_net_SocketAddressI()
/libcore/luni/src/test/java/libcore/java/net/
DSocketTimeoutTest.java23 import java.net.ConnectException;
72 } catch (ConnectException connectException) { in checkOperationTimesOut()
73 throw new ConnectException( in checkOperationTimesOut()
DOldUnixSocketTest.java23 import java.net.ConnectException;
97 } catch (ConnectException e) { in test_connectLjava_net_SocketAddressI()
DOldSocketTest.java26 import java.net.ConnectException;
950 + e.toString(), (e instanceof ConnectException)); in test_connectLjava_net_SocketAddress()
963 + e.toString(), (e instanceof ConnectException)); in test_connectLjava_net_SocketAddress()
1121 + e.toString(), (e instanceof ConnectException)); in test_connectLjava_net_SocketAddressI()
1139 + e.toString(), (e instanceof ConnectException)); in test_connectLjava_net_SocketAddressI()
1150 } catch (ConnectException ce) { in test_connectLjava_net_SocketAddressI()
1171 } catch (ConnectException ce) { in test_connectLjava_net_SocketAddressI()
DSocketTest.java40 import java.net.ConnectException;
134 } catch (ConnectException expected) { in test_newSocket_connection_refused()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java24 import java.net.ConnectException;
716 } catch (ConnectException e) { in testCFII_Norml_NoServer_Block()
838 } catch (ConnectException e) { in testCFII_ServerStartLater_Block()
869 } catch (ConnectException e) { in testCFII_ServerStartLater_NonBlock()
891 } catch (ConnectException e) { in testCFII_FinishTwice_NoServer_NonBlock()
930 } catch (ConnectException e) { in testCFII_ConnectAfterFinish_NoServer_Block()
965 } catch (ConnectException e) { in testCFII_ConnectAfterFinish_NoServer_NonBlock()
1137 } catch (ConnectException e) { in testCFII_ConnectTwice_NoServer_NonBlock()
1258 } catch (ConnectException e) { in testCFII_FinishFirst_NoServer_Block()
1295 } catch (ConnectException e) { in testCFII_FinishFirst_NoServer_NonBlock()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSocketChannelTest.java26 import java.net.ConnectException;
90 } catch (ConnectException ex) { in test_56684()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java31 import java.net.ConnectException;
187 throw new ConnectException(createMessageForException(fd, inetAddress, port, timeoutMs, in connect()
347 throw new ConnectException(detail, cause); in isConnected()
/libcore/ojluni/src/test/java/net/Socks/
DSocksServer.java304 } catch (ConnectException cex) { in doConnect()
/libcore/
Dopenjdk_java_files.bp290 "ojluni/src/main/java/java/net/ConnectException.java",
DEXPECTED_UPSTREAM325 …luni/src/main/java/java/net/ConnectException.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classe…
/libcore/api/
Dcurrent.txt5454 public class ConnectException extends java.net.SocketException {
5455 ctor public ConnectException(String);
5456 ctor public ConnectException();