Home
last modified time | relevance | path

Searched refs:ioe (Results 1 – 25 of 29) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java251 } catch (IOException ioe) { in test_parseLjava_io_File()
252 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_File()
263 } catch (IOException ioe) { in test_parseLjava_io_File()
264 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_File()
273 } catch (IOException ioe) { in test_parseLjava_io_File()
284 } catch (IOException ioe) { in test_parseLjava_io_File()
285 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_File()
311 } catch (IOException ioe) { in test_parseLjava_io_InputStream()
312 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_InputStream()
323 } catch (IOException ioe) { in test_parseLjava_io_InputStream()
[all …]
DSAXParserTest.java348 } catch (IOException ioe) { in testParseFileHandlerBase()
349 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
364 } catch (IOException ioe) { in testParseFileHandlerBase()
365 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
375 } catch (IOException ioe) { in testParseFileHandlerBase()
376 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
387 } catch(IOException ioe) { in testParseFileHandlerBase()
388 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
535 } catch (IOException ioe) { in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
536 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
[all …]
DSAXParserFactoryTest.java145 } catch (IOException ioe) { in test_newInstance()
146 fail("Unexpected exception " + ioe.toString()); in test_newInstance()
DSAXParserTestSupport.java126 } catch(IOException ioe) { in readFile()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java132 assertSame(InterruptedIOException.class, streamReader.ioe.getClass()); in testStreamRead_exceptionOnCloseWhenBlocked()
174 assertSame(InterruptedIOException.class, streamWriter.ioe.getClass()); in testStreamWrite_exceptionOnCloseWhenBlocked()
276 assertSame(AsynchronousCloseException.class, channelReader.ioe.getClass()); in testChannelRead_exceptionOnCloseWhenBlocked()
307 assertSame(ClosedByInterruptException.class, channelReader.ioe.getClass()); in testChannelRead_exceptionOnInterrupt()
409 assertSame(AsynchronousCloseException.class, channelWriter.ioe.getClass()); in testChannelWrite_exceptionOnCloseWhenBlocked()
440 assertSame(ClosedByInterruptException.class, channelWriter.ioe.getClass()); in testChannelWrite_exceptionOnInterrupt()
451 volatile IOException ioe; field in FileIOInterruptTest.StreamReader
466 this.ioe = e; in run()
485 volatile IOException ioe; field in FileIOInterruptTest.StreamWriter
502 this.ioe = e; in run()
[all …]
/libcore/luni/src/test/java/libcore/io/
DStrictLineReaderTest.java59 } catch (IOException ioe) { in testLineReaderConsistencyWithReadAsciiLine()
60 fail("Unexpected IOException " + ioe.toString()); in testLineReaderConsistencyWithReadAsciiLine()
/libcore/luni/src/main/java/libcore/net/url/
DFileURLConnection.java124 } catch (IOException ioe) { in connect()
125 error = ioe; in connect()
151 } catch (IOException ioe) { in getHeaderField()
170 } catch (IOException ioe) { in getHeaderFieldKey()
187 } catch (IOException ioe) { in getHeaderField()
DFtpURLConnection.java193 } catch (IOException ioe) { in connect()
194 failureReason = ioe.getLocalizedMessage(); in connect()
198 selector.connectFailed(uri, currentProxy.address(), ioe); in connect()
DJarURLConnectionImpl.java250 } catch (IOException ioe) { in getContentType()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedWriterTest.java277 } catch (IOException ioe) { in test_write$CII_notConnected()
285 } catch (IOException ioe) { in test_write$CII_notConnected()
293 } catch (IOException ioe) { in test_write$CII_notConnected()
301 } catch (IOException ioe) { in test_write$CII_notConnected()
309 } catch (IOException ioe) { in test_write$CII_notConnected()
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java100 } catch(IOException ioe) { in test_execLjava_lang_StringLjava_lang_StringArray()
138 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
147 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
193 } catch(IOException ioe) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
233 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
242 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java228 } catch(IOException ioe) { in test_getKeepAlive()
235 } catch(IOException ioe) { in test_getKeepAlive()
329 } catch(SocketException ioe) { in test_getSoLinger()
378 } catch(IOException ioe) { in test_getSendBufferSize()
427 } catch(SocketException ioe) { in test_getTcpNoDelay()
455 } catch(SocketException ioe) { in test_setKeepAliveZ()
499 } catch(SocketException ioe) { in test_setSendBufferSizeI()
501 } catch(IOException ioe) { in test_setSendBufferSizeI()
522 } catch(SocketException ioe) { in test_setReceiveBufferSizeI()
524 } catch(IOException ioe) { in test_setReceiveBufferSizeI()
[all …]
DOldServerSocketTest.java138 } catch(IOException ioe) { in test_ConstructorI()
/libcore/luni/src/main/java/java/net/
DProxySelectorImpl.java25 @Override public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
26 if (uri == null || sa == null || ioe == null) { in connectFailed()
DNetworkInterface.java135 } catch (IOException ioe) { in readIfInet6Lines()
136 throw rethrowAsSocketException(ioe); in readIfInet6Lines()
/libcore/luni/src/main/java/java/util/jar/
DStrictJarFile.java69 } catch (IOException ioe) { in StrictJarFile()
71 throw ioe; in StrictJarFile()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java628 } catch (IOException ioe) { in test_saveLjava_io_OutputStreamLjava_lang_String()
630 + ioe.getMessage()); in test_saveLjava_io_OutputStreamLjava_lang_String()
681 } catch (IOException ioe) { in test_storeLjava_io_OutputStreamLjava_lang_String()
683 + ioe.getMessage()); in test_storeLjava_io_OutputStreamLjava_lang_String()
840 } catch (IOException ioe) { in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
842 + ioe.getMessage()); in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
866 } catch (IOException ioe) { in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
868 + ioe.getMessage()); in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java432 } catch (IOException ioe) { in maybeInit()
439 System.logE("Unable to open zip file: " + file, ioe); in maybeInit()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java755 IOException ioe = new IOException("Couldn't open " + url); in openUrl()
756 ioe.initCause(e); in openUrl()
757 throw ioe; in openUrl()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java153 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DGZIPInputStreamTest.java96 } catch (IllegalArgumentException ioe) { in test_ConstructorLjava_io_InputStreamI()
DInflaterInputStreamTest.java223 } catch (IOException ioe) { in test_read_LBII()
/libcore/luni/src/main/java/java/io/
DObjectInputStream.java1604 InvalidObjectException ioe = new InvalidObjectException(e.getMessage()); in readEnum()
1605 ioe.initCause(e); in readEnum()
1606 throw ioe; in readEnum()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DProxySelectorTest.java536 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSocketTest.java394 } catch (IOException ioe) { in test_UseClientMode()

12