Searched refs:ConnectException (Results 1 – 15 of 15) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | ConnectException.java | 37 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/ |
D | ConnectExceptionTest.java | 20 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()
|
D | SocketTest.java | 23 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()
|
D | ServerSocketTest.java | 32 import java.net.ConnectException; 584 } catch (ConnectException ex) { in test_bindLjava_net_SocketAddressI()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | SocketTimeoutTest.java | 23 import java.net.ConnectException; 72 } catch (ConnectException connectException) { in checkOperationTimesOut() 73 throw new ConnectException( in checkOperationTimesOut()
|
D | OldUnixSocketTest.java | 23 import java.net.ConnectException; 97 } catch (ConnectException e) { in test_connectLjava_net_SocketAddressI()
|
D | OldSocketTest.java | 26 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()
|
D | SocketTest.java | 40 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/ |
D | SocketChannelTest.java | 24 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/ |
D | SocketChannelTest.java | 26 import java.net.ConnectException; 90 } catch (ConnectException ex) { in test_56684()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 31 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/ |
D | SocksServer.java | 304 } catch (ConnectException cex) { in doConnect()
|
/libcore/ |
D | openjdk_java_files.bp | 290 "ojluni/src/main/java/java/net/ConnectException.java",
|
D | EXPECTED_UPSTREAM | 325 …luni/src/main/java/java/net/ConnectException.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classe…
|
/libcore/api/ |
D | current.txt | 5454 public class ConnectException extends java.net.SocketException { 5455 ctor public ConnectException(String); 5456 ctor public ConnectException();
|