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.java76 } catch (ErrnoException errnoException) { in available()
77 if (errnoException.errno == ENOTTY) { in available()
81 throw errnoException.rethrowAsIOException(); in available()
105 } catch (ErrnoException errnoException) { in bind()
106 if (errnoException.errno == EADDRINUSE || errnoException.errno == EADDRNOTAVAIL || in bind()
107 errnoException.errno == EPERM || errnoException.errno == EACCES) { in bind()
108 throw new BindException(errnoException.getMessage(), errnoException); in bind()
110 throw new SocketException(errnoException.getMessage(), errnoException); in bind()
135 } catch (ErrnoException errnoException) { in connect()
136 if (errnoException.errno == EHOSTUNREACH) { in connect()
[all …]
DIoUtils.java217 } catch (ErrnoException errnoException) { in setBlocking()
218 throw errnoException.rethrowAsIOException(); in setBlocking()
278 } 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()
215 errnoException.rethrowAsSocketException(); in socketAccept()
243 } catch (ErrnoException errnoException) { in socketClose0()
270 } catch (ErrnoException errnoException) { in getMarkerFD()
282 } catch (ErrnoException errnoException) { in socketShutdown()
[all …]
DPlainDatagramSocketImpl.java203 } catch (ErrnoException errnoException) { in datagramSocketCreate()
204 throw errnoException.rethrowAsSocketException(); in datagramSocketCreate()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java588 } catch (ErrnoException errnoException) { in getFilePointer()
589 throw errnoException.rethrowAsIOException(); in getFilePointer()
619 } catch (ErrnoException errnoException) { in seek()
620 throw errnoException.rethrowAsIOException(); in seek()
636 } catch (ErrnoException errnoException) { in length()
637 throw errnoException.rethrowAsIOException(); in length()
668 } catch (ErrnoException errnoException) { in setLength()
669 throw errnoException.rethrowAsIOException(); in setLength()