本文整理了Java中org.mozilla.javascript.Context.reportRuntimeError0()
方法的一些代码示例,展示了Context.reportRuntimeError0()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Context.reportRuntimeError0()
方法的具体详情如下:
包路径:org.mozilla.javascript.Context
类名称:Context
方法名:reportRuntimeError0
暂无
代码示例来源:origin: io.apigee/rhino
@Override
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
throw Context.reportRuntimeError0("msg.script.is.not.constructor");
}
代码示例来源:origin: rhino/js
@Override
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
throw Context.reportRuntimeError0("msg.script.is.not.constructor");
}
代码示例来源:origin: geogebra/geogebra
@Override
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
throw Context.reportRuntimeError0("msg.script.is.not.constructor");
}
代码示例来源:origin: io.apigee/rhino
@Override
public void put(int index, Scriptable start, Object value) {
throw Context.reportRuntimeError0("msg.pkg.int");
}
代码示例来源:origin: com.sun.phobos/phobos-rhino
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
throw Context.reportRuntimeError0("msg.script.is.not.constructor");
}
代码示例来源:origin: ro.isdc.wro4j/rhino
@Override
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
throw Context.reportRuntimeError0("msg.script.is.not.constructor");
}
代码示例来源:origin: com.github.tntim96/rhino
@Override
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
throw Context.reportRuntimeError0("msg.script.is.not.constructor");
}
代码示例来源:origin: rhino/js
@Override
public void put(int index, Scriptable start, Object value) {
throw Context.reportRuntimeError0("msg.pkg.int");
}
代码示例来源:origin: com.github.tntim96/rhino
@Override
public void put(int index, Scriptable start, Object value) {
throw Context.reportRuntimeError0("msg.pkg.int");
}
代码示例来源:origin: geogebra/geogebra
@Override
public void put(int index, Scriptable start, Object value) {
throw Context.reportRuntimeError0("msg.pkg.int");
}
代码示例来源:origin: ro.isdc.wro4j/rhino
@Override
public void put(int index, Scriptable start, Object value) {
throw Context.reportRuntimeError0("msg.pkg.int");
}
代码示例来源:origin: com.sun.phobos/phobos-rhino
public void put(int index, Scriptable start, Object value) {
throw Context.reportRuntimeError0("msg.pkg.int");
}
代码示例来源:origin: rhino/js
public static RegExpProxy checkRegExpProxy(Context cx)
{
RegExpProxy result = getRegExpProxy(cx);
if (result == null) {
throw Context.reportRuntimeError0("msg.no.regexp");
}
return result;
}
代码示例来源:origin: ro.isdc.wro4j/rhino
public static RegExpProxy checkRegExpProxy(Context cx)
{
RegExpProxy result = getRegExpProxy(cx);
if (result == null) {
throw Context.reportRuntimeError0("msg.no.regexp");
}
return result;
}
代码示例来源:origin: geogebra/geogebra
public static RegExpProxy checkRegExpProxy(Context cx)
{
RegExpProxy result = getRegExpProxy(cx);
if (result == null) {
throw Context.reportRuntimeError0("msg.no.regexp");
}
return result;
}
代码示例来源:origin: io.apigee/rhino
public static RegExpProxy checkRegExpProxy(Context cx)
{
RegExpProxy result = getRegExpProxy(cx);
if (result == null) {
throw Context.reportRuntimeError0("msg.no.regexp");
}
return result;
}
代码示例来源:origin: com.sun.phobos/phobos-rhino
public static RegExpProxy checkRegExpProxy(Context cx)
{
RegExpProxy result = getRegExpProxy(cx);
if (result == null) {
throw Context.reportRuntimeError0("msg.no.regexp");
}
return result;
}
代码示例来源:origin: com.github.tntim96/rhino
public static RegExpProxy checkRegExpProxy(Context cx)
{
RegExpProxy result = getRegExpProxy(cx);
if (result == null) {
throw Context.reportRuntimeError0("msg.no.regexp");
}
return result;
}
代码示例来源:origin: rhino/js
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
ClassLoader loader = null;
if (args.length != 0) {
Object arg = args[0];
if (arg instanceof Wrapper) {
arg = ((Wrapper)arg).unwrap();
}
if (arg instanceof ClassLoader) {
loader = (ClassLoader)arg;
}
}
if (loader == null) {
Context.reportRuntimeError0("msg.not.classloader");
return null;
}
return new NativeJavaPackage(true, "", loader);
}
代码示例来源:origin: com.sun.phobos/phobos-rhino
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
{
ClassLoader loader = null;
if (args.length != 0) {
Object arg = args[0];
if (arg instanceof Wrapper) {
arg = ((Wrapper)arg).unwrap();
}
if (arg instanceof ClassLoader) {
loader = (ClassLoader)arg;
}
}
if (loader == null) {
Context.reportRuntimeError0("msg.not.classloader");
return null;
}
return new NativeJavaPackage(true, "", loader);
}
内容来源于网络,如有侵权,请联系作者删除!