Examples of newErrnoEBADFError()


Examples of org.jruby.Ruby.newErrnoEBADFError()

            }

            return runtime.newString(sock.toString());

        } catch (BadDescriptorException e) {
            throw runtime.newErrnoEBADFError();
        }
    }

    @JRubyMethod(name = "getpeereid", notImplemented = true)
    public IRubyObject getpeereid(ThreadContext context) {
View Full Code Here

Examples of org.jruby.Ruby.newErrnoEBADFError()

        // shutdown write
        try {
            shutdownInternal(context, 1);

        } catch (BadDescriptorException e) {
            throw runtime.newErrnoEBADFError();
        }

        return context.nil;
    }
View Full Code Here

Examples of org.jruby.Ruby.newErrnoEBADFError()

            // shutdown read
            try {
                shutdownInternal(context, 0);

            } catch (BadDescriptorException e) {
                throw runtime.newErrnoEBADFError();
            }
        }

        return context.nil;
    }
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.