/libcore/luni/src/main/java/java/net/ |
D | DatagramSocket.java | 51 private SocketException pendingConnectException; 64 public DatagramSocket() throws SocketException { in DatagramSocket() 78 public DatagramSocket(int aPort) throws SocketException { in DatagramSocket() 95 public DatagramSocket(int aPort, InetAddress addr) throws SocketException { in DatagramSocket() 154 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { in createSocket() 161 } catch (SocketException e) { in createSocket() 185 } catch (SocketException ex) { in getLocalAddress() 228 public synchronized int getReceiveBufferSize() throws SocketException { in getReceiveBufferSize() 236 public synchronized int getSendBufferSize() throws SocketException { in getSendBufferSize() 247 public synchronized int getSoTimeout() throws SocketException { in getSoTimeout() [all …]
|
D | SocketException.java | 26 public class SocketException extends IOException { class 33 public SocketException() { in SocketException() method in SocketException 39 public SocketException(String detailMessage) { in SocketException() method in SocketException 46 public SocketException(Throwable cause) { in SocketException() method in SocketException 54 public SocketException(String detailMessage, Throwable cause) { in SocketException() method in SocketException
|
D | Socket.java | 288 protected Socket(SocketImpl impl) throws SocketException { in Socket() 363 throw new SocketException("Socket input is shutdown"); in getInputStream() 371 public boolean getKeepAlive() throws SocketException { in getKeepAlive() 408 throw new SocketException("Socket output is shutdown"); in getOutputStream() 428 public int getSoLinger() throws SocketException { in getSoLinger() 442 public synchronized int getReceiveBufferSize() throws SocketException { in getReceiveBufferSize() 450 public synchronized int getSendBufferSize() throws SocketException { in getSendBufferSize() 458 public synchronized int getSoTimeout() throws SocketException { in getSoTimeout() 466 public boolean getTcpNoDelay() throws SocketException { in getTcpNoDelay() 474 public void setKeepAlive(boolean keepAlive) throws SocketException { in setKeepAlive() [all …]
|
D | NetworkInterface.java | 104 public static NetworkInterface getByName(String interfaceName) throws SocketException { in getByName() 120 String[] ifInet6Lines) throws SocketException { in getByNameInternal() 132 private static String[] readIfInet6Lines() throws SocketException { in readIfInet6Lines() 147 String[] ifInet6Lines) throws SocketException { in collectIpv6Addresses() 190 List<InterfaceAddress> interfaceAddresses) throws SocketException { in collectIpv4Address() 234 private static int readIntFile(String path) throws SocketException { in readIntFile() 247 private static SocketException rethrowAsSocketException(Exception ex) throws SocketException { in rethrowAsSocketException() 248 SocketException result = new SocketException(); in rethrowAsSocketException() 260 public static NetworkInterface getByInetAddress(InetAddress address) throws SocketException { in getByInetAddress() 279 public static NetworkInterface getByIndex(int index) throws SocketException { in getByIndex() [all …]
|
D | MulticastSocket.java | 77 public InetAddress getInterface() throws SocketException { in getInterface() 107 public NetworkInterface getNetworkInterface() throws SocketException { in getNetworkInterface() 212 throw new SocketException("No address associated with interface: " + netInterface); in checkJoinOrLeave() 222 throw new SocketException("Group address has no address: " + groupAddress); in checkJoinOrLeave() 271 public void setInterface(InetAddress address) throws SocketException { in setInterface() 279 throw new SocketException("Address not associated with an interface: " + address); in setInterface() 291 public void setNetworkInterface(NetworkInterface networkInterface) throws SocketException { in setNetworkInterface() 294 throw new SocketException("networkInterface == null"); in setNetworkInterface() 329 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { in createSocket() 336 } catch (SocketException e) { in createSocket() [all …]
|
D | ServerSocket.java | 119 private void readBackBindState() throws SocketException { in readBackBindState() 136 throw new SocketException("Socket is not bound"); in accept() 235 throw new SocketException("Factory already set"); in setSocketFactory() 251 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() 329 throw new SocketException("Host is unresolved: " + inetAddr.getHostName()); in bind() 379 private void checkOpen() throws SocketException { in checkOpen() 381 throw new SocketException("Socket is closed"); in checkOpen() 393 public void setReuseAddress(boolean reuse) throws SocketException { in setReuseAddress() 405 public boolean getReuseAddress() throws SocketException { in getReuseAddress() 413 public void setReceiveBufferSize(int size) throws SocketException { in setReceiveBufferSize() [all …]
|
D | DatagramSocketImpl.java | 57 protected abstract void bind(int port, InetAddress addr) throws SocketException; in bind() 71 protected abstract void create() throws SocketException; in create() 246 throws SocketException { in connect()
|
D | SocketOptions.java | 185 public Object getOption(int optID) throws SocketException; in getOption() 197 public void setOption(int optID, Object val) throws SocketException; in setOption()
|
D | PlainDatagramSocketImpl.java | 59 @Override public void bind(int port, InetAddress address) throws SocketException { in bind() 92 public void create() throws SocketException { in create() 107 @Override public Object getOption(int option) throws SocketException { in getOption() 188 public void setOption(int option, Object value) throws SocketException { in setOption() 203 public void connect(InetAddress inetAddr, int port) throws SocketException { in connect() 210 throw new SocketException("Host is unresolved: " + inetAddr.getHostName()); in connect() 229 } catch (SocketException ignored) { in disconnect()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | 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; in tag() 50 public abstract void untag(FileDescriptor socketDescriptor) throws SocketException; in untag() 52 public final void tag(Socket socket) throws SocketException { in tag() 58 public final void untag(Socket socket) throws SocketException { in untag()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | SocketExceptionTest.java | 20 import java.net.SocketException; 30 throw new SocketException(); in test_Constructor() 33 } catch (SocketException e) { in test_Constructor() 44 throw new SocketException("Some error message"); in test_ConstructorLjava_lang_String() 47 } catch (SocketException e) { in test_ConstructorLjava_lang_String()
|
D | DatagramSocketImplTest.java | 27 import java.net.SocketException; 60 protected void bind(int port, InetAddress addr) throws SocketException { in bind() 70 protected void create() throws SocketException { in create() 74 public Object getOption(int optID) throws SocketException { in getOption() 131 public void setOption(int optID, Object val) throws SocketException { in setOption() 145 public void test_connect(InetAddress inetAddr, int port) throws SocketException { in test_connect()
|
D | SocketImplTest.java | 26 import java.net.SocketException; 112 public Object getOption(int optID) throws SocketException { in getOption() 123 public void setOption(int optID, Object val) throws SocketException { in setOption()
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | DefaultSSLSocketFactory.java | 23 import java.net.SocketException; 52 throw new SocketException(errMessage); in createSocket() 57 throw new SocketException(errMessage); in createSocket() 63 throw new SocketException(errMessage); in createSocket() 68 throw new SocketException(errMessage); in createSocket() 74 throw new SocketException(errMessage); in createSocket()
|
D | DefaultSSLServerSocketFactory.java | 23 import java.net.SocketException; 49 throw new SocketException(errMessage); in createServerSocket() 54 throw new SocketException(errMessage); in createServerSocket() 60 throw new SocketException(errMessage); in createServerSocket()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramSocketImplFactoryTest.java | 28 import java.net.SocketException; 60 } catch(SocketException se) { in test_createDatagramSocketImpl() 67 } catch(SocketException se) { in test_createDatagramSocketImpl() 77 } catch (SocketException e) { in test_createDatagramSocketImpl() 134 protected void bind(int arg0, InetAddress arg1) throws SocketException { in bind() 142 protected void create() throws SocketException { in create() 198 public Object getOption(int arg0) throws SocketException { in getOption() 202 public void setOption(int arg0, Object arg1) throws SocketException { in setOption()
|
D | OldUnixSocketTest.java | 28 import java.net.SocketException; 60 } catch (SocketException e) { in test_getInputStream() 68 } catch (SocketException e) { in test_getInputStream() 74 } catch (SocketException e) { in test_getInputStream() 110 } catch (SocketException e) { in test_getOutputStream()
|
D | OldSocketImplFactoryTest.java | 10 import java.net.SocketException; 43 } catch(SocketException se) { in test_createSocketImpl() 50 } catch(SocketException se) { in test_createSocketImpl() 58 } catch (SocketException e) { in test_createSocketImpl() 170 public Object getOption(int arg0) throws SocketException { in getOption() 174 public void setOption(int arg0, Object arg1) throws SocketException { in setOption()
|
D | ConcurrentCloseTest.java | 26 import java.net.SocketException; 47 } catch (SocketException expected) { in test_accept() 60 } catch (SocketException expected) { in test_connect() 75 } catch (SocketException expected) { in test_connect_timeout() 94 } catch (SocketException expected) { in test_connect_nonBlocking() 115 } catch (SocketException expected) { in test_read() 140 } catch (SocketException expected) { in test_read_multiple() 173 } catch (SocketException expected) { in test_recv() 202 } catch (SocketException expected) { in test_write()
|
D | OldServerSocketTest.java | 28 import java.net.SocketException; 250 } catch (SocketException expected) { in test_getSoTimeout_setSoTimeout() 255 } catch (SocketException expected) { in test_getSoTimeout_setSoTimeout() 272 } catch(SocketException expected) { in test_setReuseAddressZ() 282 } catch(SocketException e) { in test_getReuseAddress() 293 } catch(SocketException se) { in test_setReceiveBufferSizeI() 304 } catch (SocketException e) { in test_getReceiveBufferSize() 379 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() 382 public Object getOption(int arg0) throws SocketException { in getOption()
|
/libcore/luni/src/main/java/android/system/ |
D | ErrnoException.java | 20 import java.net.SocketException; 79 public SocketException rethrowAsSocketException() throws SocketException { in rethrowAsSocketException() 80 throw new SocketException(getMessage(), this); in rethrowAsSocketException()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 39 import java.net.SocketException; 79 … public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { in bind() 87 … throw new SocketException("Can't bind to a link-local address without a scope id: " + address); in bind() 108 … static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketException { in connect() 120 …criptor fd, InetAddress inetAddress, int port, int timeoutMs) throws SocketException, SocketTimeou… in connect() 125 } catch (SocketException ex) { in connect() 130 throw new SocketException(ex); in connect() 226 throw new SocketException("Socket closed"); in isConnected() 250 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException { in getSocketOption() 258 …Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, SocketException { in getSocketOptionErrno() [all …]
|
D | Os.java | 40 import java.net.SocketException; 44 …or accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException; in accept() 47 …void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; in bind() 48 … public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; in bind() 52 …d connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; in connect() 53 …blic void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; in connect() 125 …ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; in recvfrom() 126 …et, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; in recvfrom() 130 …uffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException; in sendto() 131 …nt byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException; in sendto() [all …]
|
D | Posix.java | 40 import java.net.SocketException; 47 …or accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException; in accept() 50 …void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; in bind() 51 … native void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; in bind() 55 …d connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; in connect() 56 …tive void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; in connect() 174 …yteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { in recvfrom() 187 …t, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { in recvfrom() 191 …et, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; in recvfromBytes() 196 …ffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { in sendto() [all …]
|
/libcore/luni/src/main/java/javax/net/ |
D | ServerSocketFactory.java | 23 import java.net.SocketException; 62 throw new SocketException("Unbound server sockets not implemented"); in createServerSocket()
|