Home
last modified time | relevance | path

Searched refs:errnoException (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DIoBridge.java69 } catch (ErrnoException errnoException) { in available()
70 if (errnoException.errno == ENOTTY) { in available()
74 throw errnoException.rethrowAsIOException(); in available()
98 } catch (ErrnoException errnoException) { in bind()
99 throw new BindException(errnoException.getMessage(), errnoException); in bind()
123 } catch (ErrnoException errnoException) { in connect()
124 … new ConnectException(connectDetail(inetAddress, port, timeoutMs, errnoException), errnoException); in connect()
157 } catch (ErrnoException errnoException) { in connectErrno()
158 if (errnoException.errno != EINPROGRESS) { in connectErrno()
159 throw errnoException; in connectErrno()
[all …]
DIoUtils.java47 } catch (ErrnoException errnoException) { in close()
48 throw errnoException.rethrowAsIOException(); in close()
100 } catch (ErrnoException errnoException) { in setBlocking()
101 throw errnoException.rethrowAsIOException(); in setBlocking()
168 } catch (ErrnoException errnoException) { in canOpenReadOnly()
/libcore/luni/src/main/java/java/nio/
DFileChannelImpl.java122 } catch (ErrnoException errnoException) { in basicLock()
123 throw errnoException.rethrowAsIOException(); in basicLock()
198 } catch (ErrnoException errnoException) { in release()
199 throw errnoException.rethrowAsIOException(); in release()
214 } catch (ErrnoException errnoException) { in force()
215 throw errnoException.rethrowAsIOException(); in force()
265 } catch (ErrnoException errnoException) { in position()
266 throw errnoException.rethrowAsIOException(); in position()
277 } catch (ErrnoException errnoException) { in position()
278 throw errnoException.rethrowAsIOException(); in position()
[all …]
DMappedByteBuffer.java77 } catch (ErrnoException errnoException) { in isLoaded()
110 } catch (ErrnoException errnoException) { in force()
113 throw new AssertionError(errnoException); in force()
DIoVec.java83 } catch (ErrnoException errnoException) { in doTransfer()
84 throw errnoException.rethrowAsIOException(); in doTransfer()
DSelectorImpl.java103 } catch (ErrnoException errnoException) { in SelectorImpl()
104 throw errnoException.rethrowAsIOException(); in SelectorImpl()
185 } catch (ErrnoException errnoException) { in selectInternal()
186 if (errnoException.errno != EINTR) { in selectInternal()
187 throw errnoException.rethrowAsIOException(); in selectInternal()
DMemoryBlock.java46 } catch (ErrnoException errnoException) { in free()
49 throw new AssertionError(errnoException); in free()
124 } catch (ErrnoException errnoException) { in mmap()
125 throw errnoException.rethrowAsIOException(); in mmap()
DPipeImpl.java47 } catch (ErrnoException errnoException) { in PipeImpl()
48 throw errnoException.rethrowAsIOException(); in PipeImpl()
DDatagramChannelImpl.java121 } catch (ErrnoException errnoException) { in onBind()
122 throw new AssertionError(errnoException); in onBind()
195 } catch (ErrnoException errnoException) { in disconnect()
196 throw errnoException.rethrowAsIOException(); in disconnect()
DSocketChannelImpl.java152 } catch (ErrnoException errnoException) { in onBind()
153 throw new AssertionError(errnoException); in onBind()
/libcore/luni/src/main/java/java/io/
DFile.java284 } catch (ErrnoException errnoException) { in doAccess()
315 } catch (ErrnoException errnoException) { in delete()
525 } catch (ErrnoException errnoException) { in isDirectory()
540 } catch (ErrnoException errnoException) { in isFile()
572 } catch (ErrnoException errnoException) { in lastModified()
710 } catch (ErrnoException errnoException) { in doChmod()
725 } catch (ErrnoException errnoException) { in length()
867 } catch (ErrnoException errnoException) { in mkdir()
900 } catch (ErrnoException errnoException) { in mkdirs()
901 if (errnoException.errno == ENOENT) { in mkdirs()
[all …]
DFileDescriptor.java76 } catch (ErrnoException errnoException) { in sync()
77 SyncFailedException sfe = new SyncFailedException(errnoException.getMessage()); in sync()
78 sfe.initCause(errnoException); in sync()
DRandomAccessFile.java223 } catch (ErrnoException errnoException) { in getFilePointer()
224 throw errnoException.rethrowAsIOException(); in getFilePointer()
238 } catch (ErrnoException errnoException) { in length()
239 throw errnoException.rethrowAsIOException(); in length()
601 } catch (ErrnoException errnoException) { in seek()
602 throw errnoException.rethrowAsIOException(); in seek()
626 } catch (ErrnoException errnoException) { in setLength()
627 throw errnoException.rethrowAsIOException(); in setLength()
DFileInputStream.java190 } catch (ErrnoException errnoException) { in skip()
191 if (errnoException.errno == ESPIPE) { in skip()
195 throw errnoException.rethrowAsIOException(); in skip()
/libcore/luni/src/main/java/java/net/
DPlainSocketImpl.java97 } catch (ErrnoException errnoException) { in accept()
98 if (errnoException.errno == EAGAIN) { in accept()
99 throw new SocketTimeoutException(errnoException); in accept()
101 throw errnoException.rethrowAsSocketException(); in accept()
279 } catch (ErrnoException errnoException) { in listen()
280 throw errnoException.rethrowAsSocketException(); in listen()
364 } catch (ErrnoException errnoException) { in shutdownInput()
365 throw errnoException.rethrowAsSocketException(); in shutdownInput()
376 } catch (ErrnoException errnoException) { in shutdownOutput()
377 throw errnoException.rethrowAsSocketException(); in shutdownOutput()
[all …]
DNetworkInterface.java204 } catch (ErrnoException errnoException) { in collectIpv4Address()
205 if (errnoException.errno != EADDRNOTAVAIL) { in collectIpv4Address()
208 throw rethrowAsSocketException(errnoException); in collectIpv4Address()
DPlainDatagramSocketImpl.java227 } catch (ErrnoException errnoException) { in disconnect()
228 throw new AssertionError(errnoException); in disconnect()
DDatagramSocket.java323 } catch (ErrnoException errnoException) { in setNetworkInterface()
324 throw errnoException.rethrowAsSocketException(); in setNetworkInterface()
/libcore/luni/src/main/java/java/lang/
DProcessManager.java101 } catch (ErrnoException errnoException) { in watchChildren()
102 if (errnoException.errno == ECHILD) { in watchChildren()
108 throw new AssertionError(errnoException); in watchChildren()
/libcore/luni/src/main/java/libcore/util/
DZoneInfoDB.java112 } catch (ErrnoException errnoException) { in loadData()