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

1 2 3 4 5 6

  /libcore/ojluni/src/main/java/java/io/
IOException.java 39 class IOException extends Exception {
43 * Constructs an {@code IOException} with {@code null}
46 public IOException() {
51 * Constructs an {@code IOException} with the specified detail message.
57 public IOException(String message) {
62 * Constructs an {@code IOException} with the specified detail message
80 public IOException(String message, Throwable cause) {
85 * Constructs an {@code IOException} with the specified cause and a
98 public IOException(Throwable cause) {
FileInputStream.java 188 * I/O on the stream, an <code>IOException</code> is thrown.
240 * @exception IOException if an I/O error occurs.
242 public int read() throws IOException {
249 // private native int read0() throws IOException;
258 * @exception IOException If an I/O error has occurred.
260 private native int readBytes(byte b[], int off, int len) throws IOException;
272 * @exception IOException if an I/O error occurs.
274 public int read(byte b[]) throws IOException {
295 * @exception IOException if an I/O error occurs.
297 public int read(byte b[], int off, int len) throws IOException {
    [all...]
FileOutputStream.java 260 * I/O on the stream, an <code>IOException</code> is thrown.
320 private native void write(int b, boolean append) throws IOException;
328 * @exception IOException if an I/O error occurs.
330 public void write(int b) throws IOException {
344 * @exception IOException If an I/O error has occurred.
347 throws IOException;
355 * @exception IOException if an I/O error occurs.
357 public void write(byte b[]) throws IOException {
369 * @exception IOException if an I/O error occurs.
371 public void write(byte b[], int off, int len) throws IOException {
    [all...]
  /art/test/ExceptionHandle/
ExceptionHandle.java 17 import java.io.IOException;
23 } catch (IOException e) {
30 } catch (IOException e) {
39 throw new IOException();
  /libcore/ojluni/src/test/java/time/test/java/time/format/
MockIOExceptionAppendable.java 62 import java.io.IOException;
65 * Mock Appendable that throws IOException.
69 public Appendable append(CharSequence csq) throws IOException {
70 throw new IOException();
73 public Appendable append(char c) throws IOException {
74 throw new IOException();
78 throws IOException {
79 throw new IOException();
  /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();
  /external/sfntly/cpp/src/sfntly/port/
exception_type.h 65 class IOException : public Exception {
67 IOException() throw() : Exception("I/O exception") {}
68 explicit IOException(const char* message) throw() : Exception(message) {}
69 virtual ~IOException() throw() {}
  /external/guava/guava-tests/test/com/google/common/io/
TestInputStream.java 28 import java.io.IOException;
40 public TestInputStream(InputStream in, TestOption... options) throws IOException {
44 public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
55 public int read() throws IOException {
62 public int read(byte[] b, int off, int len) throws IOException {
69 public long skip(long n) throws IOException {
76 public int available() throws IOException {
82 public void close() throws IOException {
88 private void throwIf(TestOption option) throws IOException {
92 private static void throwIf(boolean condition) throws IOException {
    [all...]
TestOutputStream.java 27 import java.io.IOException;
39 public TestOutputStream(OutputStream out, TestOption... options) throws IOException {
43 public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException {
54 public void write(byte[] b, int off, int len) throws IOException {
61 public void write(int b) throws IOException {
68 public void close() throws IOException {
74 private void throwIf(TestOption option) throws IOException {
78 private static void throwIf(boolean condition) throws IOException {
80 throw new IOException();
  /frameworks/base/core/java/android/nfc/tech/
NdefFormatable.java 28 import java.io.IOException;
78 * <p>This is a multi-step process, an IOException is thrown
84 * {@link IOException} if {@link #close} is called from another thread.
90 * @throws IOException if there is an I/O failure, or the operation is canceled
93 public void format(NdefMessage firstMessage) throws IOException, FormatException {
100 * <p>This is a multi-step process, an IOException is thrown
106 * {@link IOException} if {@link #close} is called from another thread.
112 * @throws IOException if there is an I/O failure, or the operation is canceled
115 public void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException {
119 /*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/nci/src/com/android/nfc/dhimpl/
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/guice/extensions/persist/test/com/google/inject/persist/jpa/
JoiningLocalTransactionsTest.java 28 import java.io.IOException;
84 } catch (IOException e) {
137 @Transactional(rollbackOn = IOException.class)
144 @Transactional(rollbackOn = IOException.class)
145 public void runOperationInTxnThrowingChecked() throws IOException {
150 private void runOperationInTxnThrowingCheckedInternal() throws IOException {
155 throw new IOException();
163 @Transactional(rollbackOn = IOException.class)
ManagedLocalTransactionsTest.java 28 import java.io.IOException;
99 } catch (IOException e) {
160 @Transactional(rollbackOn = IOException.class)
161 public void runOperationInTxnThrowingChecked() throws IOException {
166 throw new IOException();
ClassLevelManagedLocalTransactionsTest.java 28 import java.io.IOException;
85 } catch (IOException e) {
108 } catch (IOException e) {
177 @Transactional(rollbackOn = IOException.class, ignore = FileNotFoundException.class)
181 public void runOperationInTxnThrowingCheckedExcepting() throws IOException {
191 @Transactional(rollbackOn = IOException.class)
195 public void runOperationInTxnThrowingChecked() throws IOException {
201 throw new IOException();
ManagedLocalTransactionsAcrossRequestTest.java 30 import java.io.IOException;
136 } catch (IOException e) {
208 @Transactional(rollbackOn = IOException.class)
209 public void runOperationInTxnThrowingChecked() throws IOException {
214 throw new IOException();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
IOExceptionTest.java 20 import java.io.IOException;
27 * java.io.IOException#IOException()
32 throw new IOException();
34 fail("Exception during IOException test");
35 } catch (IOException e) {
41 * java.io.IOException#IOException(java.lang.String)
46 throw new IOException("Some error message");
49 } catch (IOException e)
    [all...]
WriterTest.java 18 import java.io.IOException;
28 public void test_appendChar() throws IOException {
40 public void test_appendCharSequence() throws IOException {
52 public void test_appendCharSequenceIntInt() throws IOException {
66 public void test_writeLjava_lang_String() throws IOException {
83 public synchronized void close() throws IOException {
88 public synchronized void flush() throws IOException {
93 public void write(char[] arg0, int arg1, int arg2) throws IOException {
112 public synchronized void close() throws IOException {
117 public synchronized void flush() throws IOException {
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
KernelFlashPreparer.java 32 import java.io.IOException;
72 } catch (IOException e) {
106 * @throws IOException if there was an exception making the boot image
108 File createBootImage(File mkbootimg, File kernel, File ramdisk) throws IOException {
119 throw new IOException();
121 } catch (IOException e) {
142 String getBootImgPath() throws IOException {
  /external/mockito/src/test/java/org/mockito/internal/util/reflection/
ParameterizedConstructorInstantiatorTest.java 19 import java.io.IOException;
133 public ThrowingConstructor(Observer observer) throws IOException { throw new IOException(); }
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
ImapTempFileLiteral.java 27 import java.io.IOException;
41 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException {
89 throw new IOException();
92 } catch (IOException e) {
  /packages/apps/Email/provider_src/com/android/email/mail/store/imap/
ImapTempFileLiteral.java 32 import java.io.IOException;
45 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException {
93 throw new IOException();
96 } catch (IOException e) {

Completed in 639 milliseconds

1 2 3 4 5 6