HomeSort by relevance Sort by last modified time
    Searched refs:SocketException (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
SocketExceptionTest.java 20 import java.net.SocketException;
25 * java.net.SocketException#SocketException()
30 throw new SocketException();
33 } catch (SocketException e) {
39 * java.net.SocketException#SocketException(java.lang.String)
44 throw new SocketException("Some error message");
47 } catch (SocketException e) {
DatagramSocketImplTest.java 27 import java.net.SocketException;
60 protected void bind(int port, InetAddress addr) throws SocketException {
70 protected void create() throws SocketException {
74 public Object getOption(int optID) throws SocketException {
131 public void setOption(int optID, Object val) throws SocketException {
145 public void test_connect(InetAddress inetAddr, int port) throws SocketException {
  /libcore/luni/src/main/java/java/net/
SocketException.java 23 * This {@code SocketException} may be thrown during socket creation or setting
26 public class SocketException extends IOException {
33 public SocketException() {
39 public SocketException(String detailMessage) {
46 public SocketException(Throwable cause) {
54 public SocketException(String detailMessage, Throwable cause) {
SocketOptions.java 182 * @throws SocketException
185 public Object getOption(int optID) throws SocketException;
194 * @throws SocketException
197 public void setOption(int optID, Object val) throws SocketException;
BindException.java 25 * more robust to catch the superclass {@code SocketException}.
27 public class BindException extends SocketException {
ConnectException.java 25 * more robust to catch the superclass {@code SocketException}.
27 public class ConnectException extends SocketException {
NoRouteToHostException.java 26 * more robust to catch the superclass {@code SocketException}.
28 public class NoRouteToHostException extends SocketException {
PortUnreachableException.java 25 * more robust to catch the superclass {@code SocketException}.
27 public class PortUnreachableException extends SocketException {
DatagramSocket.java 51 private SocketException pendingConnectException;
61 * @throws SocketException
64 public DatagramSocket() throws SocketException {
75 * @throws SocketException
78 public DatagramSocket(int aPort) throws SocketException {
92 * @throws SocketException
95 public DatagramSocket(int aPort, InetAddress addr) throws SocketException {
154 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException {
161 } catch (SocketException e) {
185 } catch (SocketException ex)
    [all...]
MulticastSocket.java 75 * @throws SocketException if an error occurs.
77 public InetAddress getInterface() throws SocketException {
105 * @throws SocketException if an error occurs.
107 public NetworkInterface getNetworkInterface() throws SocketException {
212 throw new SocketException("No address associated with interface: " + netInterface);
222 throw new SocketException("Group address has no address: " + groupAddress);
269 * @throws SocketException if an error occurs.
271 public void setInterface(InetAddress address) throws SocketException {
279 throw new SocketException("Address not associated with an interface: " + address);
289 * @throws SocketException if an error occurs
    [all...]
Socket.java 285 * @throws SocketException
288 protected Socket(SocketImpl impl) throws SocketException {
363 throw new SocketException("Socket input is shutdown");
371 public boolean getKeepAlive() throws SocketException {
408 throw new SocketException("Socket output is shutdown");
428 public int getSoLinger() throws SocketException {
442 public synchronized int getReceiveBufferSize() throws SocketException {
450 public synchronized int getSendBufferSize() throws SocketException {
458 public synchronized int getSoTimeout() throws SocketException {
466 public boolean getTcpNoDelay() throws SocketException {
    [all...]
ServerSocket.java 119 private void readBackBindState() throws SocketException {
136 throw new SocketException("Socket is not bound");
235 throw new SocketException("Factory already set");
248 * @throws SocketException
251 public synchronized void setSoTimeout(int timeout) throws SocketException {
329 throw new SocketException("Host is unresolved: " + inetAddr.getHostName());
379 private void checkOpen() throws SocketException {
381 throw new SocketException("Socket is closed");
390 * @throws SocketException
393 public void setReuseAddress(boolean reuse) throws SocketException {
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/
SocketTagger.java 21 import java.net.SocketException;
31 @Override public void tag(FileDescriptor socketDescriptor) throws SocketException {}
32 @Override public void untag(FileDescriptor socketDescriptor) throws SocketException {}
40 public abstract void tag(FileDescriptor socketDescriptor) throws SocketException;
50 public abstract void untag(FileDescriptor socketDescriptor) throws SocketException;
52 public final void tag(Socket socket) throws SocketException {
58 public final void untag(Socket socket) throws SocketException {
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSocketImplWrapper.java 24 import java.net.SocketException;
37 throw new SocketException("Socket is not connected.");
84 public void setSoLinger(boolean on, int linger) throws SocketException {
89 public void setTcpNoDelay(boolean on) throws SocketException {
94 public void setReuseAddress(boolean on) throws SocketException {
99 public void setKeepAlive(boolean on) throws SocketException {
104 public void setTrafficClass(int tos) throws SocketException {
109 public void setSoTimeout(int to) throws SocketException {
115 public void setSendBufferSize(int size) throws SocketException {
120 public void setReceiveBufferSize(int size) throws SocketException {
    [all...]
  /frameworks/support/v4/ics/android/support/v4/net/
TrafficStatsCompatIcs.java 22 import java.net.SocketException;
48 public static void tagSocket(Socket socket) throws SocketException {
52 public static void untagSocket(Socket socket) throws SocketException {
  /libcore/luni/src/main/java/android/system/
ErrnoException.java 20 import java.net.SocketException;
79 public SocketException rethrowAsSocketException() throws SocketException {
80 throw new SocketException(getMessage(), this);
  /libcore/luni/src/main/java/javax/net/ssl/
DefaultSSLServerSocketFactory.java 23 import java.net.SocketException;
49 throw new SocketException(errMessage);
54 throw new SocketException(errMessage);
60 throw new SocketException(errMessage);
DefaultSSLSocketFactory.java 23 import java.net.SocketException;
52 throw new SocketException(errMessage);
57 throw new SocketException(errMessage);
63 throw new SocketException(errMessage);
68 throw new SocketException(errMessage);
74 throw new SocketException(errMessage);
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLSocketFactoryTest.java 24 import java.net.SocketException;
42 fail("No expected SocketException");
43 } catch (SocketException e) {
57 fail("No expected SocketException");
58 } catch (SocketException e) {
71 fail("No expected SocketException");
72 } catch (SocketException e) {
87 fail("No expected SocketException");
88 } catch (SocketException e) {
117 fail("No expected SocketException");
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DelegatingSSLSocket.java 23 import java.net.SocketException;
140 @Override public boolean getKeepAlive() throws SocketException {
160 @Override public int getSoLinger() throws SocketException {
164 @Override public int getReceiveBufferSize() throws SocketException {
168 @Override public int getSendBufferSize() throws SocketException {
172 @Override public int getSoTimeout() throws SocketException {
176 @Override public boolean getTcpNoDelay() throws SocketException {
180 @Override public void setKeepAlive(boolean keepAlive) throws SocketException {
184 @Override public void setSendBufferSize(int size) throws SocketException {
188 @Override public void setReceiveBufferSize(int size) throws SocketException {
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/example/
FtpWorkingDirectory.java 21 import java.net.SocketException;
38 * @throws SocketException
41 public String getWorkingDirectory() throws SocketException, IOException {
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/example/
FtpWorkingDirectory.java 19 import java.net.SocketException;
38 * @throws SocketException
41 public String getWorkingDirectory() throws SocketException, IOException {
  /libcore/luni/src/main/java/javax/net/
ServerSocketFactory.java 23 import java.net.SocketException;
54 * SocketException} is thrown.
62 throw new SocketException("Unbound server sockets not implemented");
  /external/conscrypt/src/compat/java/org/conscrypt/
KitKatPlatformOpenSSLSocketImplAdapter.java 26 import java.net.SocketException;
126 public void setSoLinger(boolean on, int linger) throws SocketException {
131 public void setTcpNoDelay(boolean on) throws SocketException {
136 public void setReuseAddress(boolean on) throws SocketException {
141 public void setKeepAlive(boolean on) throws SocketException {
146 public void setTrafficClass(int tos) throws SocketException {
151 public void setSoTimeout(int to) throws SocketException {
156 public void setSendBufferSize(int size) throws SocketException {
161 public void setReceiveBufferSize(int size) throws SocketException {
166 public boolean getTcpNoDelay() throws SocketException {
    [all...]
PreKitKatPlatformOpenSSLSocketImplAdapter.java 26 import java.net.SocketException;
126 public void setSoLinger(boolean on, int linger) throws SocketException {
131 public void setTcpNoDelay(boolean on) throws SocketException {
136 public void setReuseAddress(boolean on) throws SocketException {
141 public void setKeepAlive(boolean on) throws SocketException {
146 public void setTrafficClass(int tos) throws SocketException {
151 public void setSoTimeout(int to) throws SocketException {
156 public void setSendBufferSize(int size) throws SocketException {
161 public void setReceiveBufferSize(int size) throws SocketException {
166 public boolean getTcpNoDelay() throws SocketException {
    [all...]

Completed in 251 milliseconds

1 2 3 4 5 6 7 8