Home
last modified time | relevance | path

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

1234

/libcore/ojluni/src/main/java/java/nio/file/
DFileTreeWalker.java131 private final IOException ioe; field in FileTreeWalker.Event
133 private Event(EventType type, Path file, BasicFileAttributes attrs, IOException ioe) { in Event() argument
137 this.ioe = ioe; in Event()
144 Event(EventType type, Path file, IOException ioe) { in Event() argument
145 this(type, file, null, ioe); in Event()
161 return ioe; in ioeException()
220 } catch (IOException ioe) { in getAttributes()
222 throw ioe; in getAttributes()
277 } catch (IOException ioe) { in visit()
278 return new Event(EventType.ENTRY, entry, ioe); in visit()
[all …]
DFileTreeIterator.java76 IOException ioe = next.ioeException(); in FileTreeIterator() local
77 if (ioe != null) in FileTreeIterator()
78 throw ioe; in FileTreeIterator()
85 IOException ioe = ev.ioeException(); in fetchNextIfNeeded() local
86 if (ioe != null) in fetchNextIfNeeded()
87 throw new UncheckedIOException(ioe); in fetchNextIfNeeded()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java254 } catch (IOException ioe) { in test_parseLjava_io_File()
255 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_File()
266 } catch (IOException ioe) { in test_parseLjava_io_File()
267 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_File()
276 } catch (IOException ioe) { in test_parseLjava_io_File()
287 } catch (IOException ioe) { in test_parseLjava_io_File()
288 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_File()
314 } catch (IOException ioe) { in test_parseLjava_io_InputStream()
315 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_InputStream()
326 } catch (IOException ioe) { in test_parseLjava_io_InputStream()
[all …]
DSAXParserTest.java364 } catch (IOException ioe) { in testParseFileHandlerBase()
365 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
380 } catch (IOException ioe) { in testParseFileHandlerBase()
381 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
391 } catch (IOException ioe) { in testParseFileHandlerBase()
392 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
403 } catch(IOException ioe) { in testParseFileHandlerBase()
404 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
551 } catch (IOException ioe) { in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
552 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
[all …]
/libcore/ojluni/src/test/java/io/InputStream/
DNullInputStream.java75 } catch (IOException ioe) { in testAvailable()
84 } catch (IOException ioe) { in testRead()
94 } catch (IOException ioe) { in testReadBII()
104 } catch (IOException ioe) { in testReadAllBytes()
114 } catch (IOException ioe) { in testReadNBytes()
126 } catch (IOException ioe) { in testReadNBytesWithLength()
134 } catch (IOException ioe) { in testReadNBytesWithLength()
143 } catch (IOException ioe) { in testSkip()
153 } catch (IOException ioe) { in testSkipNBytes()
168 } catch (IOException ioe) { in testTransferTo()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertPath.java203 } catch (IOException ioe) { in parsePKIPATH()
205 + ioe, ioe); in parsePKIPATH()
241 } catch (IOException ioe) { in parsePKCS7()
243 ioe); in parsePKCS7()
311 } catch (IOException ioe) { in encodePKIPATH()
313 "PkiPath data: " + ioe, ioe); in encodePKIPATH()
331 } catch (IOException ioe) { in encodePKCS7()
332 throw new CertificateEncodingException(ioe.getMessage()); in encodePKCS7()
DOCSP.java210 } catch (IOException ioe) { in check()
212 ("Exception while encoding OCSPRequest", ioe); in check()
260 } catch (IOException ioe) { in check()
263 ioe, null, -1, BasicReason.UNDETERMINED_REVOCATION_STATUS); in check()
268 } catch (IOException ioe) { in check()
269 throw ioe; in check()
275 } catch (IOException ioe) { in check()
276 throw ioe; in check()
284 } catch (IOException ioe) { in check()
286 throw new CertPathValidatorException(ioe); in check()
DConstraintsChecker.java157 } catch (IOException ioe) { in verifyNameConstraints()
158 throw new CertPathValidatorException(ioe); in verifyNameConstraints()
209 } catch (IOException ioe) { in mergeNameConstraints()
210 throw new CertPathValidatorException(ioe); in mergeNameConstraints()
/libcore/ojluni/src/main/java/sun/security/x509/
DURIName.java126 } catch (IOException ioe) { in URIName()
133 } catch (IOException ioe) { in URIName()
174 } catch (IOException ioe) { in nameConstraint()
175 throw new IOException("invalid URI name constraint:" + name, ioe); in nameConstraint()
387 } catch (IOException ioe) { in subtreeDepth()
388 throw new UnsupportedOperationException(ioe.getMessage()); in subtreeDepth()
DX509CertImpl.java1121 } catch (IOException ioe) {} // not possible in getAuthKeyId()
1135 } catch (IOException ioe) {} // not possible in getSubjectKeyId()
1373 } catch (IOException ioe) { in getExtension()
1394 } catch (IOException ioe) { in getUnparseableExtension()
1519 } catch (IOException ioe) { in getExtendedKeyUsage()
1520 throw new CertificateParsingException(ioe); in getExtendedKeyUsage()
1584 } catch (IOException ioe) { in makeAltNames()
1587 ioe); in makeAltNames()
1598 } catch (IOException ioe) { in makeAltNames()
1601 throw new RuntimeException("name cannot be encoded", ioe); in makeAltNames()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKWeekFieldsSerialization.java116 } catch (Exception ioe) { in test_invalid_serialform()
117 fail("Unexpected exception " + ioe); in test_invalid_serialform()
127 } catch (Exception ioe) { in test_invalid_serialform()
138 } catch (Exception ioe) { in test_invalid_serialform()
149 } catch (Exception ioe) { in test_invalid_serialform()
DTCKValueRangeSerialization.java151 } catch (InvalidObjectException ioe) { in test_invalid_serialform()
162 } catch (InvalidObjectException ioe) { in test_invalid_serialform()
173 } catch (InvalidObjectException ioe) { in test_invalid_serialform()
/libcore/ojluni/src/main/java/java/io/
DConsole.java322 IOError ioe = null; in readPassword() local
328 ioe = new IOError(x); in readPassword()
334 if (ioe == null) in readPassword()
335 ioe = new IOError(x); in readPassword()
337 ioe.addSuppressed(x); in readPassword()
339 if (ioe != null) in readPassword()
340 throw ioe; in readPassword()
/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()
417 assertSame(AsynchronousCloseException.class, channelWriter.ioe.getClass()); in testChannelWrite_exceptionOnCloseWhenBlocked()
448 assertSame(ClosedByInterruptException.class, channelWriter.ioe.getClass()); in testChannelWrite_exceptionOnInterrupt()
459 volatile IOException ioe; field in FileIOInterruptTest.StreamReader
474 this.ioe = e; in run()
493 volatile IOException ioe; field in FileIOInterruptTest.StreamWriter
510 this.ioe = e; in run()
[all …]
/libcore/ojluni/src/test/java/io/Serializable/records/
DStreamRefTest.java130 InvalidObjectException ioe = expectThrows(IOE, () -> deserializeOne(byteStream)); in basicRefWithInvalidA() local
131 out.println("caught expected IOE: " + ioe); in basicRefWithInvalidA()
132 Throwable t = ioe.getCause(); in basicRefWithInvalidA()
153 InvalidObjectException ioe = expectThrows(IOE, () -> deserializeOne(byteStream)); in reverseBasicRefWithInvalidA() local
154 out.println("caught expected IOE: " + ioe); in reverseBasicRefWithInvalidA()
155 Throwable t = ioe.getCause(); in reverseBasicRefWithInvalidA()
DThrowingConstructorTest.java112 InvalidObjectException ioe = expectThrows(IOE, () -> deserialize(bytes)); in testExceptions() local
113 out.println("caught expected IOE: " + ioe); in testExceptions()
114 Throwable t = ioe.getCause(); in testExceptions()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixDirectoryStream.java183 IOException ioe = x.asIOException(dir); in readNextEntry()
184 throw new DirectoryIteratorException(ioe); in readNextEntry()
203 } catch (IOException ioe) { in readNextEntry()
204 throw new DirectoryIteratorException(ioe); in readNextEntry()
DAbstractFileSystemProvider.java123 } catch (IOException ioe) { in isDirectory()
138 } catch (IOException ioe) { in isRegularFile()
153 } catch (IOException ioe) { in exists()
/libcore/ojluni/src/main/java/java/security/cert/
DTrustAnchor.java281 } catch (IOException ioe) { in setNameConstraints()
283 new IllegalArgumentException(ioe.getMessage()); in setNameConstraints()
284 iae.initCause(ioe); in setNameConstraints()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS7.java169 } catch (IOException ioe) { in parse()
178 pe.initCause(ioe); in parse()
277 } catch (IOException ioe) { in parseNetscapeCertChain()
278 ParsingException pe = new ParsingException(ioe.getMessage()); in parseNetscapeCertChain()
279 pe.initCause(ioe); in parseNetscapeCertChain()
361 } catch (IOException ioe) { in parseSignedData()
362 ParsingException pe = new ParsingException(ioe.getMessage()); in parseSignedData()
363 pe.initCause(ioe); in parseSignedData()
479 } catch (IOException ioe) { in parseOldSignedData()
480 ParsingException pe = new ParsingException(ioe.getMessage()); in parseOldSignedData()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/nio/file/
DFileTreeWalker.java168 java.io.IOException ioe) { in Event() argument
182 java.io.IOException ioe) { in Event() argument
214 private final java.io.IOException ioe; field in FileTreeWalker.Event
217 ioe = null;
/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/net/
DOldSocketTest.java237 } catch(IOException ioe) { in test_getKeepAlive()
244 } catch(IOException ioe) { in test_getKeepAlive()
337 } catch(SocketException ioe) { in test_getSoLinger()
385 } catch(IOException ioe) { in test_getSendBufferSize()
431 } catch(SocketException ioe) { in test_getTcpNoDelay()
460 } catch(SocketException ioe) { in test_setKeepAliveZ()
504 } catch(SocketException ioe) { in test_setSendBufferSizeI()
506 } catch(IOException ioe) { in test_setSendBufferSizeI()
527 } catch(SocketException ioe) { in test_setReceiveBufferSizeI()
529 } catch(IOException ioe) { in test_setReceiveBufferSizeI()
[all …]
/libcore/ojluni/src/test/java/nio/channels/Selector/
DSelectWithConsumer.java493 } catch (IOException ioe) { } in testActionClosingSelector()
615 } catch (IOException ioe) { in testReentrantSelect1()
616 throw new RuntimeException(ioe); in testReentrantSelect1()
645 } catch (IOException ioe) { in testReentrantSelect2()
646 throw new RuntimeException(ioe); in testReentrantSelect2()
675 } catch (IOException ioe) { in testReentrantSelect3()
676 throw new RuntimeException(ioe); in testReentrantSelect3()
740 } catch (IOException ioe) { in scheduleClose()
741 ioe.printStackTrace(); in scheduleClose()
750 } catch (IOException ioe) { in scheduleWrite()
[all …]
/libcore/ojluni/src/main/java/java/util/
DXMLUtils.java182 IOException ioe = new IOException(); in emitDocument()
183 ioe.initCause(te); in emitDocument()
184 throw ioe; in emitDocument()

1234