/libcore/ojluni/src/main/java/java/net/ |
D | Socket.java | 170 protected Socket(SocketImpl impl) throws SocketException { in Socket() 439 throw new SocketException("Impossible: empty address list"); in Socket() 485 void createImpl(boolean stream) throws SocketException { in createImpl() 492 throw new SocketException(e.getMessage()); in createImpl() 550 SocketImpl getImpl() throws SocketException { in getImpl() 598 throw new SocketException("Socket is closed"); in connect() 601 throw new SocketException("already connected"); in connect() 657 throw new SocketException("Socket is closed"); in bind() 659 throw new SocketException("Already bound"); in bind() 665 throw new SocketException("Unresolved address"); in bind() [all …]
|
D | DatagramSocket.java | 123 private SocketException pendingConnectException; 133 … private synchronized void connectInternal(InetAddress address, int port) throws SocketException { in connectInternal() 177 throw new SocketException(); in connectInternal() 183 } catch (SocketException se) { in connectInternal() 215 public DatagramSocket() throws SocketException { in DatagramSocket() 257 public DatagramSocket(SocketAddress bindaddr) throws SocketException { in DatagramSocket() 290 public DatagramSocket(int port) throws SocketException { in DatagramSocket() 318 public DatagramSocket(int port, InetAddress laddr) throws SocketException { in DatagramSocket() 344 void createImpl() throws SocketException { in createImpl() 371 DatagramSocketImpl getImpl() throws SocketException { in getImpl() [all …]
|
D | AbstractPlainDatagramSocketImpl.java | 89 protected synchronized void create() throws SocketException { in create() 94 } catch (SocketException ioe) { in create() 111 throws SocketException { in bind() 116 throws SocketException; in bind0() 132 protected void connect(InetAddress address, int port) throws SocketException { in connect() 279 public void setOption(int optID, Object o) throws SocketException { in setOption() 281 throw new SocketException("Socket Closed"); in setOption() 290 throw new SocketException("bad argument for SO_TIMEOUT"); in setOption() 299 throw new SocketException("bad argument for IP_TOS"); in setOption() 305 throw new SocketException("bad argument for SO_REUSEADDR"); in setOption() [all …]
|
D | MulticastSocket.java | 218 throw new SocketException("Socket is closed"); in setTTL() 246 throw new SocketException("Socket is closed"); in setTimeToLive() 264 throw new SocketException("Socket is closed"); in getTTL() 278 throw new SocketException("Socket is closed"); in getTimeToLive() 302 throw new SocketException("Socket is closed"); in joinGroup() 312 throw new SocketException("Not a multicast address"); in joinGroup() 347 throw new SocketException("Socket is closed"); in leaveGroup() 357 throw new SocketException("Not a multicast address"); in leaveGroup() 390 throw new SocketException("Socket is closed"); in joinGroup() 405 throw new SocketException("Not a multicast address"); in joinGroup() [all …]
|
D | ServerSocket.java | 257 public SocketImpl getImpl() throws SocketException { in getImpl() 302 void createImpl() throws SocketException { in createImpl() 309 throw new SocketException(e.getMessage()); in createImpl() 361 throw new SocketException("Socket is closed"); in bind() 363 throw new SocketException("Already bound"); in bind() 370 throw new SocketException("Unresolved address"); in bind() 418 } catch (SocketException e) { in getInetAddress() 441 } catch (SocketException e) { in getLocalPort() 511 throw new SocketException("Socket is closed"); in accept() 513 throw new SocketException("Socket is not bound yet"); in accept() [all …]
|
D | PlainDatagramSocketImpl.java | 69 throw new SocketException("Socket closed"); in setOption() 82 throw new SocketException("Socket closed"); in getOption() 90 protected void socketSetOption(int opt, Object val) throws SocketException { in socketSetOption() 93 } catch (SocketException se) { in socketSetOption() 100 protected synchronized void bind0(int lport, InetAddress laddr) throws SocketException { in bind0() 102 throw new SocketException("Socket closed"); in bind0() 118 throw new SocketException("Socket closed"); in send() 147 throw new SocketException("Socket closed"); in doRecv() 182 throw new SocketException("Socket closed"); in join() 191 throw new SocketException("Socket closed"); in leave() [all …]
|
D | SocksSocketImpl.java | 129 throw new SocketException("Malformed reply from SOCKS server"); in readSocksReply() 265 throw new SocketException("SOCKS V4 requires IPv4 only addresses"); in connectV4() 283 throw new SocketException("Reply from SOCKS server has bad length: " + n); in connectV4() 285 throw new SocketException("Reply from SOCKS server has bad version"); in connectV4() 286 SocketException ex = null; in connectV4() 293 ex = new SocketException("SOCKS request rejected"); in connectV4() 296 ex = new SocketException("SOCKS server couldn't reach destination"); in connectV4() 299 ex = new SocketException("SOCKS authentication failed"); in connectV4() 302 ex = new SocketException("Reply from SOCKS server contains bad status"); in connectV4() 443 throw new SocketException(e.getMessage()); in connect() [all …]
|
D | SocketException.java | 38 class SocketException extends IOException { class 47 public SocketException(String msg) { in SocketException() method in SocketException 54 public SocketException() { in SocketException() method in SocketException 59 public SocketException(Throwable cause) { in SocketException() method in SocketException 64 public SocketException(String msg, Throwable cause) { in SocketException() method in SocketException
|
D | PlainSocketImpl.java | 94 throw new SocketException("Socket closed"); in setOption() 107 throw new SocketException("Socket closed"); in getOption() 116 protected void socketSetOption(int opt, Object val) throws SocketException { in socketSetOption() 119 } catch (SocketException se) { in socketSetOption() 139 throw new SocketException("Socket closed"); in socketConnect() 159 throw new SocketException("Socket closed"); in socketBind() 176 throw new SocketException("Socket closed"); in socketListen() 188 throw new SocketException("Socket closed"); in socketAccept() 213 throw new SocketException("Socket closed"); in socketAccept() 227 throw new SocketException("socket already closed"); in socketClose0() [all …]
|
D | NetworkInterface.java | 293 public static NetworkInterface getByName(String name) throws SocketException { in getByName() 320 public static NetworkInterface getByIndex(int index) throws SocketException { in getByIndex() 356 public static NetworkInterface getByInetAddress(InetAddress addr) throws SocketException { in getByInetAddress() 397 throws SocketException { in getNetworkInterfaces() 429 private static NetworkInterface[] getAll() throws SocketException { in getAll() 514 public boolean isUp() throws SocketException { in isUp() 528 public boolean isLoopback() throws SocketException { in isLoopback() 544 public boolean isPointToPoint() throws SocketException { in isPointToPoint() 557 public boolean supportsMulticast() throws SocketException { in supportsMulticast() 580 public byte[] getHardwareAddress() throws SocketException { in getHardwareAddress() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | DatagramSocket.java | 34 public DatagramSocket() throws java.net.SocketException { in DatagramSocket() 42 public DatagramSocket(java.net.SocketAddress bindaddr) throws java.net.SocketException { in DatagramSocket() 46 public DatagramSocket(int port) throws java.net.SocketException { in DatagramSocket() 50 public DatagramSocket(int port, java.net.InetAddress laddr) throws java.net.SocketException { in DatagramSocket() 55 throws java.net.SocketException { in connectInternal() 63 void createImpl() throws java.net.SocketException { in createImpl() 67 java.net.DatagramSocketImpl getImpl() throws java.net.SocketException { in getImpl() 71 public synchronized void bind(java.net.SocketAddress addr) throws java.net.SocketException { in bind() 83 public void connect(java.net.SocketAddress addr) throws java.net.SocketException { in connect() 123 private boolean checkFiltering(java.net.DatagramPacket p) throws java.net.SocketException { in checkFiltering() [all …]
|
D | Socket.java | 42 protected Socket(java.net.SocketImpl impl) throws java.net.SocketException { in Socket() 89 void createImpl(boolean stream) throws java.net.SocketException { in createImpl() 101 java.net.SocketImpl getImpl() throws java.net.SocketException { in getImpl() 173 public void setTcpNoDelay(boolean on) throws java.net.SocketException { in setTcpNoDelay() 177 public boolean getTcpNoDelay() throws java.net.SocketException { in getTcpNoDelay() 181 public void setSoLinger(boolean on, int linger) throws java.net.SocketException { in setSoLinger() 185 public int getSoLinger() throws java.net.SocketException { in getSoLinger() 193 public void setOOBInline(boolean on) throws java.net.SocketException { in setOOBInline() 197 public boolean getOOBInline() throws java.net.SocketException { in getOOBInline() 201 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { in setSoTimeout() [all …]
|
D | SocketException.java | 32 public class SocketException extends java.io.IOException { class 34 public SocketException(java.lang.String msg) { in SocketException() method in SocketException 38 public SocketException() { in SocketException() method in SocketException 42 public SocketException(java.lang.Throwable cause) { in SocketException() method in SocketException 47 public SocketException(java.lang.String msg, java.lang.Throwable cause) { in SocketException() method in SocketException
|
D | ServerSocket.java | 54 public java.net.SocketImpl getImpl() throws java.net.SocketException { in getImpl() 66 void createImpl() throws java.net.SocketException { in createImpl() 114 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { in setSoTimeout() 122 public void setReuseAddress(boolean on) throws java.net.SocketException { in setReuseAddress() 126 public boolean getReuseAddress() throws java.net.SocketException { in getReuseAddress() 147 public synchronized void setReceiveBufferSize(int size) throws java.net.SocketException { in setReceiveBufferSize() 151 public synchronized int getReceiveBufferSize() throws java.net.SocketException { in getReceiveBufferSize()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | DatagramSocket.annotated.java | 36 public DatagramSocket() throws java.net.SocketException { throw new RuntimeException("Stub!"); } in DatagramSocket() 40 public DatagramSocket(java.net.SocketAddress bindaddr) throws java.net.SocketException { throw new … in DatagramSocket() 42 public DatagramSocket(int port) throws java.net.SocketException { throw new RuntimeException("Stub!… in DatagramSocket() 44 public DatagramSocket(int port, java.net.InetAddress laddr) throws java.net.SocketException { throw… in DatagramSocket() 46 public synchronized void bind(java.net.SocketAddress addr) throws java.net.SocketException { throw … in bind() 50 public void connect(java.net.SocketAddress addr) throws java.net.SocketException { throw new Runtim… in connect() 74 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { throw new Runt… in setSoTimeout() 76 public synchronized int getSoTimeout() throws java.net.SocketException { throw new RuntimeException… in getSoTimeout() 78 public synchronized void setSendBufferSize(int size) throws java.net.SocketException { throw new Ru… in setSendBufferSize() 80 public synchronized int getSendBufferSize() throws java.net.SocketException { throw new RuntimeExce… in getSendBufferSize() [all …]
|
D | Socket.annotated.java | 42 protected Socket(java.net.SocketImpl impl) throws java.net.SocketException { throw new RuntimeExcep… in Socket() 82 public void setTcpNoDelay(boolean on) throws java.net.SocketException { throw new RuntimeException(… in setTcpNoDelay() 84 public boolean getTcpNoDelay() throws java.net.SocketException { throw new RuntimeException("Stub!"… in getTcpNoDelay() 86 public void setSoLinger(boolean on, int linger) throws java.net.SocketException { throw new Runtime… in setSoLinger() 88 public int getSoLinger() throws java.net.SocketException { throw new RuntimeException("Stub!"); } in getSoLinger() 92 public void setOOBInline(boolean on) throws java.net.SocketException { throw new RuntimeException("… in setOOBInline() 94 public boolean getOOBInline() throws java.net.SocketException { throw new RuntimeException("Stub!")… in getOOBInline() 96 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { throw new Runt… in setSoTimeout() 98 public synchronized int getSoTimeout() throws java.net.SocketException { throw new RuntimeException… in getSoTimeout() 100 public synchronized void setSendBufferSize(int size) throws java.net.SocketException { throw new Ru… in setSendBufferSize() [all …]
|
D | ServerSocket.annotated.java | 56 public SocketImpl getImpl() throws SocketException { throw new RuntimeException("Stub!"); } in getImpl() 68 public synchronized void setSoTimeout(int timeout) throws java.net.SocketException { throw new Runt… in setSoTimeout() 72 public void setReuseAddress(boolean on) throws java.net.SocketException { throw new RuntimeExceptio… in setReuseAddress() 74 public boolean getReuseAddress() throws java.net.SocketException { throw new RuntimeException("Stub… in getReuseAddress() 80 public synchronized void setReceiveBufferSize(int size) throws java.net.SocketException { throw new… in setReceiveBufferSize() 82 public synchronized int getReceiveBufferSize() throws java.net.SocketException { throw new RuntimeE… in getReceiveBufferSize()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketAdaptor.java | 61 private SocketAdaptor(SocketChannelImpl sc) throws SocketException { in SocketAdaptor() 70 } catch (SocketException e) { in create() 243 throw new SocketException("Socket is closed"); in getInputStream() 245 throw new SocketException("Socket is not connected"); in getInputStream() 247 throw new SocketException("Socket input is shutdown"); in getInputStream() 265 throw new SocketException("Socket is closed"); in getOutputStream() 267 throw new SocketException("Socket is not connected"); in getOutputStream() 269 throw new SocketException("Socket output is shutdown"); in getOutputStream() 285 throws SocketException in setBooleanOption() 295 throws SocketException in setIntOption() [all …]
|
D | DatagramSocketAdaptor.java | 70 throws SocketException in connectInternal() 87 public void bind(SocketAddress local) throws SocketException { in bind() 100 } catch (SocketException x) { in connect() 105 public void connect(SocketAddress remote) throws SocketException { in connect() 257 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() 261 public int getSoTimeout() throws SocketException { in getSoTimeout() 266 throws SocketException in setBooleanOption() 276 throws SocketException in setIntOption() 285 private boolean getBooleanOption(SocketOption<Boolean> name) throws SocketException { in getBooleanOption() 294 private int getIntOption(SocketOption<Integer> name) throws SocketException { in getIntOption() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | SocketTagger.java | 23 import java.net.SocketException; 34 @Override public void tag(FileDescriptor socketDescriptor) throws SocketException {} 35 @Override public void untag(FileDescriptor socketDescriptor) throws SocketException {} 48 public abstract void tag(FileDescriptor socketDescriptor) throws SocketException; in tag() 59 public abstract void untag(FileDescriptor socketDescriptor) throws SocketException; in untag() 63 public final void tag(Socket socket) throws SocketException { in tag() 71 public final void untag(Socket socket) throws SocketException { in untag() 78 public final void tag(DatagramSocket socket) throws SocketException { in tag() 85 public final void untag(DatagramSocket 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; 67 protected void bind(int port, InetAddress addr) throws SocketException { in bind() 77 protected void create() throws SocketException { in create() 81 public Object getOption(int optID) throws SocketException { in getOption() 138 public void setOption(int optID, Object val) throws SocketException { in setOption() 152 public void test_connect(InetAddress inetAddr, int port) throws SocketException { in test_connect()
|
/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 | ConcurrentCloseTest.java | 28 import java.net.SocketException; 52 } catch (SocketException expected) { in test_accept() 64 } catch (SocketException expected) { in test_connect() 76 } catch (SocketException expected) { in test_connect_timeout() 92 } catch (SocketException expected) { in test_connect_nonBlocking() 111 } catch (SocketException expected) { in test_read() 136 } catch (SocketException expected) { in test_read_multiple() 169 } catch (SocketException expected) { in test_recv() 198 } catch (SocketException expected) { in test_write()
|
/libcore/luni/src/main/java/android/system/ |
D | ErrnoException.java | 20 import java.net.SocketException; 88 public @NonNull SocketException rethrowAsSocketException() throws SocketException { in rethrowAsSocketException() 89 throw new SocketException(getMessage(), this); in rethrowAsSocketException()
|