HomeSort by relevance Sort by last modified time
    Searched defs:IOException (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /libcore/luni/src/main/java/java/io/
IOException.java 26 public class IOException extends Exception {
31 * Constructs a new {@code IOException} with its stack trace filled in.
33 public IOException() {
37 * Constructs a new {@code IOException} with its stack trace and detail
43 public IOException(String detailMessage) {
57 public IOException(String message, Throwable cause) {
68 public IOException(Throwable cause) {
InputStream.java 39 * false from {@link #markSupported()} and throw an {@link IOException} when
99 * @throws IOException if this stream is closed or an error occurs
101 public int available() throws IOException {
109 * @throws IOException
112 public void close() throws IOException {
154 * @throws IOException
155 * if the stream is closed or another IOException occurs.
157 public abstract int read() throws IOException;
162 public int read(byte[] buffer) throws IOException {
183 * @throws IOException
    [all...]
Reader.java 73 * @throws IOException
76 public abstract void close() throws IOException;
84 * This default implementation simply throws an {@code IOException};
92 * @throws IOException
97 public void mark(int readLimit) throws IOException {
98 throw new IOException();
119 * @throws IOException
122 public int read() throws IOException {
141 * @throws IOException
144 public int read(char[] buf) throws IOException {
    [all...]
PushbackInputStream.java 85 public int available() throws IOException {
87 throw new IOException();
96 * @throws IOException
100 public void close() throws IOException {
131 * @throws IOException
136 public int read() throws IOException {
138 throw new IOException();
169 * @throws IOException
176 public int read(byte[] buffer, int offset, int length) throws IOException {
206 private IOException streamClosed() throws IOException
    [all...]
  /libcore/support/src/test/java/tests/support/
ThrowingReader.java 21 import java.io.IOException;
38 @Override public int read() throws IOException {
46 throws IOException {
58 private void explodeIfNecessary() throws IOException {
61 throw new IOException();
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
MeetingResponseParser.java 20 import java.io.IOException;
29 public MeetingResponseParser(InputStream in, EasSyncService service) throws IOException {
34 public void parseResult() throws IOException {
50 public boolean parse() throws IOException {
53 throw new IOException();
SettingsParser.java 20 import java.io.IOException;
33 public SettingsParser(InputStream in, EasSyncService service) throws IOException {
39 public boolean parse() throws IOException {
42 throw new IOException();
63 public void parseDeviceInformation() throws IOException {
73 public void parseSet() throws IOException {
ItemOperationsParser.java 18 import java.io.IOException;
32 throws IOException {
43 private void parseProperties() throws IOException {
56 private void parseFetch() throws IOException {
66 private void parseResponse() throws IOException {
77 public boolean parse() throws IOException {
80 throw new IOException();
PingParser.java 23 import java.io.IOException;
47 public PingParser(InputStream in, EasSyncService service) throws IOException {
52 public void parsePingFolders(ArrayList<String> syncList) throws IOException {
66 public boolean parse() throws IOException, StaleFolderListException, IllegalHeartbeatException {
69 throw new IOException();
GalParser.java 22 import java.io.IOException;
32 public GalParser(InputStream in, EasSyncService service) throws IOException {
42 public boolean parse() throws IOException {
44 throw new IOException();
56 public void parseProperties(GalResult galResult) throws IOException {
105 public void parseResult(GalResult galResult) throws IOException {
115 public void parseResponse(GalResult galResult) throws IOException {
125 public void parseStore(GalResult galResult) throws IOException {
MoveItemsParser.java 20 import java.io.IOException;
45 public MoveItemsParser(InputStream in, EasSyncService service) throws IOException {
58 public void parseResponse() throws IOException {
98 public boolean parse() throws IOException {
101 throw new IOException();
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
ServerSocketFactoryTest.java 24 import java.io.IOException;
47 } catch (IOException e) {
64 } catch (IOException e) {
69 } catch (IOException e) {
74 } catch (IOException e) {
80 public ServerSocket createServerSocket(int port) throws IOException, UnknownHostException {
81 throw new IOException();
86 throws IOException, UnknownHostException {
87 throw new IOException();
91 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException {
    [all...]
SocketFactoryTest.java 24 import java.io.IOException;
47 } catch (IOException e) {
64 } catch (IOException e) {
69 } catch (IOException e) {
74 } catch (IOException e) {
79 } catch (IOException e) {
85 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
86 throw new IOException();
91 throws IOException, UnknownHostException {
92 throw new IOException();
    [all...]
  /frameworks/base/core/java/android/nfc/tech/
NdefFormatable.java 29 import java.io.IOException;
79 * <p>This is a multi-step process, an IOException is thrown
85 * {@link IOException} if {@link #close} is called from another thread.
91 * @throws IOException if there is an I/O failure, or the operation is canceled
94 public void format(NdefMessage firstMessage) throws IOException, FormatException {
101 * <p>This is a multi-step process, an IOException is thrown
107 * {@link IOException} if {@link #close} is called from another thread.
113 * @throws IOException if there is an I/O failure, or the operation is canceled
116 public void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException {
120 /*package*/ void format(NdefMessage firstMessage, boolean makeReadOnly) throws IOException,
    [all...]
BasicTagTechnology.java 25 import java.io.IOException;
71 public void connect() throws IOException {
85 throw new IOException();
89 throw new IOException("NFC service died");
95 public void reconnect() throws IOException {
106 throw new IOException();
112 throw new IOException("NFC service died");
117 public void close() throws IOException {
142 byte[] transceive(byte[] data, boolean raw) throws IOException {
149 throw new IOException("transceive failed")
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/nxp/
NativeLlcpConnectionlessSocket.java 22 import java.io.IOException;
53 public void send(int sap, byte[] data) throws IOException {
55 throw new IOException();
60 public LlcpPacket receive() throws IOException {
63 throw new IOException();
73 public void close() throws IOException {
75 throw new IOException();
NativeLlcpServiceSocket.java 22 import java.io.IOException;
40 public LlcpSocket accept() throws IOException {
42 if (socket == null) throw new IOException();
48 public void close() throws IOException {
50 throw new IOException();
NativeLlcpSocket.java 21 import java.io.IOException;
37 public void connectToSap(int sap) throws IOException {
39 throw new IOException();
45 public void connectToService(String serviceName) throws IOException {
47 throw new IOException();
53 public void close() throws IOException {
55 throw new IOException();
61 public void send(byte[] data) throws IOException {
63 throw new IOException();
69 public int receive(byte[] recvBuff) throws IOException {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
IFileWrapper.java 31 import java.io.IOException;
72 public void close() throws IOException {
79 throw new IOException();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
IOExceptionTest.java 20 import java.io.IOException;
27 * @tests java.io.IOException#IOException()
32 throw new IOException();
34 fail("Exception during IOException test");
35 } catch (IOException e) {
41 * @tests java.io.IOException#IOException(java.lang.String)
46 throw new IOException("Some error message");
49 } catch (IOException e)
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
DeflaterInputStream.java 21 import java.io.IOException;
90 public void close() throws IOException {
102 @Override public int read() throws IOException {
112 @Override public int read(byte[] buffer, int offset, int byteCount) throws IOException {
154 public long skip(long byteCount) throws IOException {
172 * @throws IOException if this stream is closed or an error occurs
175 public int available() throws IOException {
197 * This operation is not supported and throws {@code IOException}.
200 public void reset() throws IOException {
201 throw new IOException();
    [all...]
DeflaterOutputStream.java 21 import java.io.IOException;
133 * @throws IOException
136 protected void deflate() throws IOException {
148 * @throws IOException
153 public void close() throws IOException {
166 * @throws IOException
169 public void finish() throws IOException {
181 @Override public void write(int i) throws IOException {
188 * @throws IOException
191 @Override public void write(byte[] buffer, int offset, int byteCount) throws IOException {
    [all...]
InflaterInputStream.java 22 import java.io.IOException;
124 * @throws IOException
127 @Override public int read() throws IOException {
138 public int read(byte[] buffer, int offset, int byteCount) throws IOException {
176 throw (IOException) (new IOException().initCause(e));
184 * @throws IOException
185 * if an {@code IOException} occurs.
187 protected void fill() throws IOException {
210 * @throws IOException if an error occurs skipping
    [all...]
InflaterOutputStream.java 21 import java.io.IOException;
88 public void close() throws IOException {
98 public void flush() throws IOException {
107 * @throws IOException if an I/O error occurs, or the stream has been closed
109 public void finish() throws IOException {
120 * @throws IOException if an I/O error occurs, or the stream has been closed
124 public void write(int b) throws IOException, ZipException {
133 * @throws IOException if an I/O error occurs, or the stream has been closed
139 public void write(byte[] bytes, int offset, int byteCount) throws IOException, ZipException {
146 private void write() throws IOException, ZipException
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessenger.java 27 import java.io.IOException;
44 public void sendMessage(SnepMessage msg) throws IOException {
72 throw new IOException("Invalid SNEP message", e);
77 throw new IOException("Invalid response from server (" +
91 public SnepMessage getMessage() throws IOException, SnepException {
114 } catch (IOException e) {
117 throw new IOException("Error reading SNEP message.");
121 } catch (IOException e) {
124 throw new IOException("Invalid fragment from sender.");
157 } catch (IOException e)
    [all...]

Completed in 583 milliseconds

1 2 3 4