本文整理了Java中org.jruby.Ruby.newNotImplementedError
方法的一些代码示例,展示了Ruby.newNotImplementedError
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ruby.newNotImplementedError
方法的具体详情如下:
包路径:org.jruby.Ruby
类名称:Ruby
方法名:newNotImplementedError
暂无
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(name = "fork", module = true, visibility = PRIVATE, notImplemented = true)
public static IRubyObject fork(ThreadContext context, IRubyObject recv, Block block) {
Ruby runtime = context.runtime;
throw runtime.newNotImplementedError("fork is not available on this platform");
}
代码示例来源:origin: org.jruby/jruby-core
@JRubyMethod(name = "fork", module = true, visibility = PRIVATE, notImplemented = true)
public static IRubyObject fork(ThreadContext context, IRubyObject recv, Block block) {
Ruby runtime = context.runtime;
throw runtime.newNotImplementedError("fork is not available on this platform");
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
@JRubyMethod(name = "fork", module = true, visibility = PRIVATE, compat = RUBY1_9, notImplemented = true)
public static IRubyObject fork19(ThreadContext context, IRubyObject recv, Block block) {
Ruby runtime = context.runtime;
throw runtime.newNotImplementedError("fork is not available on this platform");
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
@JRubyMethod(name = "fork", module = true, visibility = PRIVATE, compat = RUBY1_8)
public static IRubyObject fork(ThreadContext context, IRubyObject recv, Block block) {
Ruby runtime = context.runtime;
throw runtime.newNotImplementedError("fork is not available on this platform");
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
@JRubyMethod(name = "fork", module = true, visibility = PRIVATE, compat = RUBY1_8)
public static IRubyObject fork(ThreadContext context, IRubyObject recv, Block block) {
Ruby runtime = context.runtime;
throw runtime.newNotImplementedError("fork is not available on this platform");
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
@JRubyMethod(name = "fork", module = true, visibility = PRIVATE, compat = RUBY1_9, notImplemented = true)
public static IRubyObject fork19(ThreadContext context, IRubyObject recv, Block block) {
Ruby runtime = context.runtime;
throw runtime.newNotImplementedError("fork is not available on this platform");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(required = 1, optional = 9, module = true, visibility = PRIVATE)
public static IRubyObject syscall(ThreadContext context, IRubyObject recv, IRubyObject[] args) {
throw context.runtime.newNotImplementedError("Kernel#syscall is not implemented in JRuby");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(rest = true, notImplemented = true)
public IRubyObject sendmsg(ThreadContext context, IRubyObject[] args) {
throw context.runtime.newNotImplementedError("sendmsg is not implemented");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(rest = true, notImplemented = true)
public IRubyObject sendmsg_nonblock(ThreadContext context, IRubyObject[] args) {
throw context.runtime.newNotImplementedError("sendmsg_nonblock is not implemented");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(rest = true, notImplemented = true)
public IRubyObject recvmsg(ThreadContext context, IRubyObject[] args) {
throw context.runtime.newNotImplementedError("recvmsg is not implemented");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(name = "getpeername", rest = true)
public IRubyObject getpeername(ThreadContext context, IRubyObject[] args) {
throw context.runtime.newNotImplementedError("not supported");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(name = {"fcntl"}, rest = true)
public IRubyObject strio_unimpl(ThreadContext context, IRubyObject[] args) {
throw context.runtime.newNotImplementedError("");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(name = "fileno", notImplemented = true)
public IRubyObject fileno(ThreadContext context) {
throw context.runtime.newNotImplementedError("Dir#fileno");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(name = "getpeereid", notImplemented = true)
public IRubyObject getpeereid(ThreadContext context) {
throw context.runtime.newNotImplementedError("getpeereid not implemented");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(rest = true, notImplemented = true)
public IRubyObject recvmsg_nonblock(ThreadContext context, IRubyObject[] args) {
throw context.runtime.newNotImplementedError("recvmsg_nonblock is not implemented");
}
代码示例来源:origin: org.jruby/jruby-complete
@JRubyMethod(name = "getpeereid", notImplemented = true)
public IRubyObject getpeereid(ThreadContext context) {
throw context.runtime.newNotImplementedError("getpeereid not implemented");
}
代码示例来源:origin: org.jruby/jruby-complete
/**
* Changes the root directory (only allowed by super user). Not available on all platforms.
*/
@JRubyMethod(name = "chroot", required = 1, meta = true)
public static IRubyObject chroot(IRubyObject recv, IRubyObject path) {
throw recv.getRuntime().newNotImplementedError("chroot not implemented: chroot is non-portable and is not supported.");
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
/**
* Changes the root directory (only allowed by super user). Not available
* on all platforms.
*/
@JRubyMethod(name = "chroot", required = 1, meta = true)
public static IRubyObject chroot(IRubyObject recv, IRubyObject path) {
throw recv.getRuntime().newNotImplementedError("chroot not implemented: chroot is non-portable and is not supported.");
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
@JRubyMethod(name = {"&"})
public IRubyObject not_implemented1(IRubyObject arg) {
String error = "Process::Status#& not implemented";
throw getRuntime().newNotImplementedError(error);
}
代码示例来源:origin: org.jruby/jruby-core
/**
* Changes the root directory (only allowed by super user). Not available on all platforms.
*/
@JRubyMethod(name = "chroot", required = 1, meta = true)
public static IRubyObject chroot(IRubyObject recv, IRubyObject path) {
throw recv.getRuntime().newNotImplementedError("chroot not implemented: chroot is non-portable and is not supported.");
}
内容来源于网络,如有侵权,请联系作者删除!