Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/io/
DIoBridge.java117 } catch (ErrnoException errnoException) { in available()
118 if (errnoException.errno == ENOTTY) { in available()
122 throw errnoException.rethrowAsIOException(); in available()
146 } catch (ErrnoException errnoException) { in bind()
147 if (errnoException.errno == EADDRINUSE || errnoException.errno == EADDRNOTAVAIL || in bind()
148 errnoException.errno == EPERM || errnoException.errno == EACCES) { in bind()
149 throw new BindException(errnoException.getMessage(), errnoException); in bind()
151 throw new SocketException(errnoException.getMessage(), errnoException); in bind()
180 } catch (ErrnoException errnoException) { in connect()
181 if (errnoException.errno == EHOSTUNREACH) { in connect()
[all …]
DIoUtils.java259 } catch (ErrnoException errnoException) { in setBlocking()
260 throw errnoException.rethrowAsIOException(); in setBlocking()
334 } catch (ErrnoException errnoException) { in canOpenReadOnly()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java181 } catch (ErrnoException errnoException) { in socketListen()
182 throw errnoException.rethrowAsSocketException(); in socketListen()
207 } catch (ErrnoException errnoException) { in socketAccept()
208 if (errnoException.errno == EAGAIN) { in socketAccept()
210 e.initCause(errnoException); in socketAccept()
212 } else if (errnoException.errno == EINVAL || errnoException.errno == EBADF) { in socketAccept()
213 throw new SocketException("Socket closed", errnoException); in socketAccept()
215 errnoException.rethrowAsSocketException(); in socketAccept()
243 } catch (ErrnoException errnoException) { in socketClose0()
270 } catch (ErrnoException errnoException) { in getMarkerFD()
[all …]
DPlainDatagramSocketImpl.java203 } catch (ErrnoException errnoException) { in datagramSocketCreate()
204 throw errnoException.rethrowAsSocketException(); in datagramSocketCreate()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java606 } catch (ErrnoException errnoException) { in getFilePointer()
607 throw errnoException.rethrowAsIOException(); in getFilePointer()
637 } catch (ErrnoException errnoException) { in seek()
638 throw errnoException.rethrowAsIOException(); in seek()
654 } catch (ErrnoException errnoException) { in length()
655 throw errnoException.rethrowAsIOException(); in length()
686 } catch (ErrnoException errnoException) { in setLength()
687 throw errnoException.rethrowAsIOException(); in setLength()