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

1 2 3 4 5 6

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
SocketExceptionTest.java 20 import java.net.SocketException;
25 * @tests java.net.SocketException#SocketException()
30 throw new SocketException();
33 } catch (SocketException e) {
39 * @tests 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) {
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 {
130 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException {
137 } catch (SocketException e) {
161 } catch (SocketException ex)
    [all...]
SocketOptions.java 147 * @throws SocketException
150 public Object getOption(int optID) throws SocketException;
159 * @throws SocketException
162 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 {
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);
266 * @throws SocketException if an error occurs.
268 public void setInterface(InetAddress address) throws SocketException {
276 throw new SocketException("Address not associated with an interface: " + address);
286 * @throws SocketException if an error occurs
    [all...]
Socket.java 283 * @throws SocketException
286 protected Socket(SocketImpl impl) throws SocketException {
342 throw new SocketException("Socket input is shutdown");
350 public boolean getKeepAlive() throws SocketException {
384 throw new SocketException("Socket output is shutdown");
404 public int getSoLinger() throws SocketException {
418 public synchronized int getReceiveBufferSize() throws SocketException {
426 public synchronized int getSendBufferSize() throws SocketException {
434 public synchronized int getSoTimeout() throws SocketException {
442 public boolean getTcpNoDelay() throws SocketException {
    [all...]
ServerSocket.java 123 throw new SocketException("Socket is not bound");
221 throw new SocketException("Factory already set");
234 * @throws SocketException
237 public synchronized void setSoTimeout(int timeout) throws SocketException {
312 throw new SocketException("Host is unresolved: " + inetAddr.getHostName());
361 private void checkOpen() throws SocketException {
363 throw new SocketException("Socket is closed");
372 * @throws SocketException
375 public void setReuseAddress(boolean reuse) throws SocketException {
384 * @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 {
  /libcore/crypto/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...]
SSLSocketWrapper.java 25 import java.net.SocketException;
39 throw new SocketException("Socket is not connected.");
105 public void setSoLinger(boolean on, int linger) throws SocketException {
110 public void setTcpNoDelay(boolean on) throws SocketException {
115 public void setReuseAddress(boolean on) throws SocketException {
120 public void setKeepAlive(boolean on) throws SocketException {
125 public void setTrafficClass(int tos) throws SocketException {
130 public void setSoTimeout(int to) throws SocketException {
135 public void setSendBufferSize(int size) throws SocketException {
140 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/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);
  /libcore/luni/src/main/java/libcore/io/
ErrnoException.java 20 import java.net.SocketException;
62 public SocketException rethrowAsSocketException() throws SocketException {
63 throw new SocketException(getMessage(), this);
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLSocketFactoryTest.java 24 import java.net.SocketException;
43 fail("No expected SocketException");
44 } catch (SocketException e) {
58 fail("No expected SocketException");
59 } catch (SocketException e) {
72 fail("No expected SocketException");
73 } catch (SocketException e) {
88 fail("No expected SocketException");
89 } catch (SocketException e) {
118 fail("No expected SocketException");
    [all...]
DefaultSSLServerSocketFactoryTest.java 23 import java.net.SocketException;
41 fail("No expected SocketException");
42 } catch (SocketException e) {
55 fail("No expected SocketException");
56 } catch (SocketException e) {
69 fail("No expected SocketException");
70 } catch (SocketException e) {
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
Socks5BytestreamSession.java 24 import java.net.SocketException;
80 catch (SocketException e) {
89 catch (SocketException e) {
  /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");
  /frameworks/support/v4/java/android/support/v4/net/
TrafficStatsCompat.java 22 import java.net.SocketException;
36 void tagSocket(Socket socket) throws SocketException;
37 void untagSocket(Socket socket) throws SocketException;
111 public void tagSocket(Socket socket) throws SocketException {
116 public void untagSocket(Socket socket) throws SocketException {
193 public static void tagSocket(Socket socket) throws SocketException {
200 public static void untagSocket(Socket socket) throws SocketException {
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixSocketTest.java 28 import java.net.SocketException;
63 fail("Should throw SocketException");
64 } catch (SocketException e) {
71 fail("Should throw SocketException");
72 } catch (SocketException e) {
77 fail("Should throw SocketException");
78 } catch (SocketException e) {
114 } catch (SocketException e) {

Completed in 1104 milliseconds

1 2 3 4 5 6