Searched refs:errnoException (Results 1 – 5 of 5) sorted by relevance
118 } catch (ErrnoException errnoException) { in available()119 if (errnoException.errno == ENOTTY) { in available()123 throw errnoException.rethrowAsIOException(); in available()147 } catch (ErrnoException errnoException) { in bind()148 if (errnoException.errno == EADDRINUSE || errnoException.errno == EADDRNOTAVAIL || in bind()149 errnoException.errno == EPERM || errnoException.errno == EACCES) { in bind()150 throw new BindException(errnoException.getMessage(), errnoException); in bind()152 throw new SocketException(errnoException.getMessage(), errnoException); in bind()181 } catch (ErrnoException errnoException) { in connect()182 if (errnoException.errno == EHOSTUNREACH) { in connect()[all …]
267 } catch (ErrnoException errnoException) { in setBlocking()268 throw errnoException.rethrowAsIOException(); in setBlocking()344 } catch (ErrnoException errnoException) { in canOpenReadOnly()
181 } 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 …]
203 } catch (ErrnoException errnoException) { in datagramSocketCreate()204 throw errnoException.rethrowAsSocketException(); in datagramSocketCreate()
588 } 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()