Home
last modified time | relevance | path

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

123

/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.java77 IOException ioe = next.ioeException(); in FileTreeIterator() local
78 if (ioe != null) in FileTreeIterator()
79 throw ioe; in FileTreeIterator()
86 IOException ioe = ev.ioeException(); in fetchNextIfNeeded() local
87 if (ioe != null) in fetchNextIfNeeded()
88 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.java353 } catch (IOException ioe) { in testParseFileHandlerBase()
354 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
369 } catch (IOException ioe) { in testParseFileHandlerBase()
370 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
380 } catch (IOException ioe) { in testParseFileHandlerBase()
381 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
392 } catch(IOException ioe) { in testParseFileHandlerBase()
393 fail("Unexpected IOException " + ioe.toString()); in testParseFileHandlerBase()
540 } catch (IOException ioe) { in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
541 fail("Unexpected IOException " + ioe.toString()); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
[all …]
/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()
DURICertStore.java255 } catch (IOException ioe) { in engineGetCertificates()
256 throw new CertStoreException(ioe); in engineGetCertificates()
365 } catch (IOException ioe) { in engineGetCRLs()
366 throw new CertStoreException(ioe); in engineGetCRLs()
/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.java317 IOError ioe = null; in readPassword() local
323 ioe = new IOError(x); in readPassword()
328 if (ioe == null) in readPassword()
329 ioe = new IOError(x); in readPassword()
331 ioe.addSuppressed(x); in readPassword()
333 if (ioe != null) in readPassword()
334 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/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()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileKey.java45 } catch (IOException ioe) { in create()
46 throw new Error(ioe); in create()
/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/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/ojluni/src/main/java/sun/security/pkcs/
DPKCS7.java167 } catch (IOException ioe) { in parse()
176 pe.initCause(ioe); in parse()
275 } catch (IOException ioe) { in parseNetscapeCertChain()
276 ParsingException pe = new ParsingException(ioe.getMessage()); in parseNetscapeCertChain()
277 pe.initCause(ioe); in parseNetscapeCertChain()
359 } catch (IOException ioe) { in parseSignedData()
360 ParsingException pe = new ParsingException(ioe.getMessage()); in parseSignedData()
361 pe.initCause(ioe); in parseSignedData()
477 } catch (IOException ioe) { in parseOldSignedData()
478 ParsingException pe = new ParsingException(ioe.getMessage()); in parseOldSignedData()
[all …]
/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/main/java/java/util/
DXMLUtils.java182 IOException ioe = new IOException(); in emitDocument()
183 ioe.initCause(te); in emitDocument()
184 throw ioe; in emitDocument()
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java109 } catch(IOException ioe) { in test_execLjava_lang_StringLjava_lang_StringArray()
147 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
156 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
202 } catch(IOException ioe) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
242 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
251 } catch(IOException ioe) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
/libcore/ojluni/src/main/java/java/net/
DAbstractPlainSocketImpl.java119 } catch (IOException ioe) { in create()
123 throw ioe; in create()
162 } catch (IOException ioe) { in connect()
218 } catch (IOException ioe) { in connect()
/libcore/luni/src/test/java/libcore/java/util/
DOptionalTest.java199 } catch (IOException ioe) { in testOrElseThrow()
200 assertSame(bar, ioe); in testOrElseThrow()
206 } catch (IOException ioe) { in testOrElseThrow()
207 assertSame(bar, ioe); in testOrElseThrow()

123