Examples of newErrnoEINPROGRESSWritableError()


Examples of org.jruby.Ruby.newErrnoEINPROGRESSWritableError()

                    result = socket.connect(addr);
                }

                if(!result) {
                    if (runtime.is1_9()) {
                        throw runtime.newErrnoEINPROGRESSWritableError();
                    } else {
                        throw runtime.newErrnoEINPROGRESSError();
                    }
                }
View Full Code Here

Examples of org.jruby.Ruby.newErrnoEINPROGRESSWritableError()

        } catch(AlreadyConnectedException e) {
            throw runtime.newErrnoEISCONNError();

        } catch(ConnectionPendingException e) {
            if (runtime.is1_9()) {
                throw runtime.newErrnoEINPROGRESSWritableError();
            } else {
                throw runtime.newErrnoEINPROGRESSError();
            }

        } catch(UnknownHostException e) {
View Full Code Here

Examples of org.jruby.Ruby.newErrnoEINPROGRESSWritableError()

                } else {
                    result = socket.connect(addr);
                }

                if(!result) {
                    throw runtime.newErrnoEINPROGRESSWritableError();
                }

            } else if (channel instanceof UnixSocketChannel) {
                ((UnixSocketChannel)channel).connect((UnixSocketAddress)addr);
View Full Code Here

Examples of org.jruby.Ruby.newErrnoEINPROGRESSWritableError()

        } catch(AlreadyConnectedException e) {
            throw runtime.newErrnoEISCONNError();

        } catch(ConnectionPendingException e) {
            throw runtime.newErrnoEINPROGRESSWritableError();

        } catch(UnknownHostException e) {
            throw SocketUtils.sockerr(runtime, "connect(2): unknown host");

        } catch(SocketException e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.