OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SocketException
(Results
1 - 25
of
167
) sorted by null
1
2
3
4
5
6
7
/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
283
* @throws
SocketException
286
protected Socket(SocketImpl impl) throws
SocketException
{
361
throw new
SocketException
("Socket input is shutdown");
369
public boolean getKeepAlive() throws
SocketException
{
406
throw new
SocketException
("Socket output is shutdown");
426
public int getSoLinger() throws
SocketException
{
440
public synchronized int getReceiveBufferSize() throws
SocketException
{
448
public synchronized int getSendBufferSize() throws
SocketException
{
456
public synchronized int getSoTimeout() throws
SocketException
{
464
public boolean getTcpNoDelay() throws
SocketException
{
[
all
...]
ServerSocket.java
118
private void readBackBindState() throws
SocketException
{
135
throw new
SocketException
("Socket is not bound");
234
throw new
SocketException
("Factory already set");
247
* @throws
SocketException
250
public synchronized void setSoTimeout(int timeout) throws
SocketException
{
328
throw new
SocketException
("Host is unresolved: " + inetAddr.getHostName());
378
private void checkOpen() throws
SocketException
{
380
throw new
SocketException
("Socket is closed");
389
* @throws
SocketException
392
public void setReuseAddress(boolean reuse) throws
SocketException
{
[
all
...]
NetworkInterface.java
101
* @throws
SocketException
if an error occurs.
104
public static NetworkInterface getByName(String interfaceName) throws
SocketException
{
120
String[] ifInet6Lines) throws
SocketException
{
132
private static String[] readIfInet6Lines() throws
SocketException
{
147
String[] ifInet6Lines) throws
SocketException
{
190
List<InterfaceAddress> interfaceAddresses) throws
SocketException
{
234
private static int readIntFile(String path) throws
SocketException
{
247
private static
SocketException
rethrowAsSocketException(Exception ex) throws
SocketException
{
248
SocketException
result = new 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
...]
/cts/tests/tests/security/src/android/security/cts/
NetlinkSocket.java
21
import java.net.
SocketException
;
29
private static native void create_native(FileDescriptor fd) throws
SocketException
;
37
public static NetlinkSocket create() throws
SocketException
{
/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
...]
DefaultSSLServerSocketFactoryTest.java
23
import java.net.
SocketException
;
40
fail("No expected
SocketException
");
41
} catch (
SocketException
e) {
54
fail("No expected
SocketException
");
55
} catch (
SocketException
e) {
68
fail("No expected
SocketException
");
69
} 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
{
Completed in 293 milliseconds
1
2
3
4
5
6
7