Searched refs:IOException (Results 151 - 175 of 711) sorted by relevance

1234567891011>>

/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLContextImpl.java19 import java.io.IOException;
33 throws GeneralSecurityException, IOException {
H A DSSLSocketInputStream.java20 import java.io.IOException;
77 * @throws IOException
80 public int available() throws IOException {
86 * @throws IOException
89 public void close() throws IOException {
98 * @throws IOException
101 public int read() throws IOException {
103 throw new IOException("Stream was closed.");
117 @Override public int read(byte[] b, int off, int len) throws IOException {
H A DSSLSocketFactoryImpl.java20 import java.io.IOException;
34 private final IOException instantiationException;
41 IOException instantiationExceptionLocal = null;
45 instantiationExceptionLocal = new IOException("Delayed instantiation exception:");
87 boolean autoClose) throws IOException {
101 public Socket createSocket() throws IOException {
113 throws IOException, UnknownHostException {
126 InetAddress localHost, int localPort) throws IOException,
140 throws IOException {
153 InetAddress localAddress, int localPort) throws IOException {
[all...]
/libcore/luni/src/main/java/java/io/
H A DCharArrayReader.java135 * @throws IOException
139 public void mark(int readLimit) throws IOException {
146 private void checkNotClosed() throws IOException {
148 throw new IOException("CharArrayReader is closed");
172 * @throws IOException
176 public int read() throws IOException {
194 * @throws IOException
198 public int read(char[] buffer, int offset, int count) throws IOException {
221 * @throws IOException
225 public boolean ready() throws IOException {
[all...]
H A DFileInputStream.java109 public int available() throws IOException {
114 public void close() throws IOException {
134 * @throws IOException
137 @Override protected void finalize() throws IOException {
170 public final FileDescriptor getFD() throws IOException {
174 @Override public int read() throws IOException {
178 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
183 public long skip(long byteCount) throws IOException {
185 throw new IOException("byteCount < 0: " + byteCount);
H A DLineNumberInputStream.java66 public int available() throws IOException {
114 * @throws IOException
115 * if the stream is closed or another IOException occurs.
119 public int read() throws IOException {
153 * @throws IOException
154 * if this stream is closed or another IOException occurs.
159 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
165 } catch (IOException e) {
183 * @throws IOException
191 public void reset() throws IOException {
[all...]
H A DLineNumberReader.java84 * @throws IOException
90 public void mark(int readlimit) throws IOException {
110 * @throws IOException
111 * if the reader is closed or another IOException occurs.
115 public int read() throws IOException {
144 * @throws IOException
145 * if this reader is closed or another IOException occurs.
148 public int read(char[] buffer, int offset, int count) throws IOException {
180 * @throws IOException
181 * if this reader is closed or another IOException occur
[all...]
/libcore/luni/src/main/java/java/net/
H A DHttpRetryException.java19 import java.io.IOException;
25 public class HttpRetryException extends IOException {
H A DPlainServerSocketImpl.java21 import java.io.IOException;
37 protected void create(boolean isStreaming) throws IOException {
H A DServerSocket.java21 import java.io.IOException;
55 * @throws IOException if an error occurs while creating the socket.
57 public ServerSocket() throws IOException {
67 * @throws IOException if an error occurs while creating the socket.
69 public ServerSocket(int port) throws IOException {
78 * @throws IOException if an error occurs while creating the socket.
80 public ServerSocket(int port, int backlog) throws IOException {
90 * @throws IOException if an error occurs while creating the socket.
92 public ServerSocket(int port, int backlog, InetAddress localAddress) throws IOException {
104 } catch (IOException
[all...]
/libcore/luni/src/main/java/java/util/
H A DInvalidPropertiesFormatException.java20 import java.io.IOException;
34 public class InvalidPropertiesFormatException extends IOException {
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLSocket.java20 import java.io.IOException;
49 * @throws IOException
54 protected SSLSocket(String host, int port) throws IOException, UnknownHostException {
68 * @throws IOException
71 protected SSLSocket(InetAddress address, int port) throws IOException {
89 * @throws IOException
95 throws IOException, UnknownHostException {
113 * @throws IOException
117 throws IOException {
125 @Override public void shutdownInput() throws IOException {
[all...]
H A DDefaultSSLSocketFactory.java20 import java.io.IOException;
51 throws IOException {
56 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
62 throws IOException, UnknownHostException {
67 public Socket createSocket(InetAddress host, int port) throws IOException {
73 int localPort) throws IOException {
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Sequence.java25 import java.io.IOException;
39 public Object decode(BerInputStream in) throws IOException {
H A DASN1SequenceOf.java25 import java.io.IOException;
39 public Object decode(BerInputStream in) throws IOException {
H A DASN1Set.java25 import java.io.IOException;
39 public Object decode(BerInputStream in) throws IOException {
H A DASN1SetOf.java25 import java.io.IOException;
39 public Object decode(BerInputStream in) throws IOException {
H A DASN1Type.java25 import java.io.IOException;
81 public final Object decode(byte[] encoded) throws IOException {
86 throws IOException {
90 public final Object decode(InputStream in) throws IOException {
94 public final void verify(byte[] encoded) throws IOException {
100 public final void verify(InputStream in) throws IOException {
114 * @throws IOException if an I/O error occurs or the end of the stream is reached
116 public abstract Object decode(BerInputStream in) throws IOException;
134 protected Object getDecodedObject(BerInputStream in) throws IOException {
/libcore/luni/src/test/java/libcore/java/io/
H A DOldStringWriterTest.java20 import java.io.IOException;
27 public void test_appendCharSequenceIntInt() throws IOException {
H A DOldFilterOutputStreamTest.java23 import java.io.IOException;
47 } catch (java.io.IOException e) {
52 public void test_close() throws IOException {
59 } catch (java.io.IOException e) {
60 fail("Test 1: Unexpected IOException.");
66 fail("Test 2: IOException expected.");
67 } catch (java.io.IOException e) {
74 fail("Test 3: IOException expected.");
75 } catch (IOException e) {
80 public void test_flush() throws IOException {
[all...]
H A DOldDataInputStreamTest.java25 import java.io.IOException;
47 } catch (IOException e) {
48 fail("IOException during constructor test : " + e.getMessage());
52 } catch (IOException e) {
53 fail("IOException during constructor test : " + e.getMessage());
58 public void test_read$B() throws IOException {
83 fail("Test 5: IOException expected.");
84 } catch (IOException e) {
89 public void test_read$BII() throws IOException {
115 fail("Test 5: IOException expecte
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DtmpCallbackHandler.java25 import java.io.IOException;
37 public void handle(Callback[] callback) throws IOException,
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CRLSelectorTest.java27 import java.io.IOException;
59 fail("IOException expected");
60 } catch (IOException e) {
67 fail("IOException expected");
68 } catch (IOException e) {
76 public void test_addIssuerNameLjava_lang_String02() throws IOException {
93 fail("IOException expected");
94 } catch (IOException e) {
116 public void test_setIssuerNamesLjava_util_Collection01() throws IOException {
H A DPolicyQualifierInfoTest.java26 import java.io.IOException;
39 * Assertion: throws <code>IOException</code> if byte array
43 public final void test_Ctor() throws IOException {
55 } catch (IOException e) {
65 } catch (IOException e) {
71 * Assertion: throws <code>IOException</code> if byte array
85 } catch (IOException e) {
98 } catch (IOException e) {
107 * @throws IOException
109 public final void testPolicyQualifierInfo03() throws IOException {
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramSocketImplFactoryTest.java19 import java.io.IOException;
41 public void test_createDatagramSocketImpl() throws IllegalArgumentException, IOException {
147 protected byte getTTL() throws IOException {
152 protected int getTimeToLive() throws IOException {
157 protected void join(InetAddress arg0) throws IOException {
161 protected void joinGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException {
165 protected void leave(InetAddress arg0) throws IOException {
169 protected void leaveGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException {
173 public int peek(InetAddress arg0) throws IOException {
178 protected int peekData(DatagramPacket arg0) throws IOException {
[all...]

Completed in 1397 milliseconds

1234567891011>>