public static RuntimeException undefCallError(Object object, Object id) { String idStr = (id == null) ? "null" : id.toString(); return typeError2("msg.undef.method.call", toString(object), idStr); }
public static RuntimeException undefCallError(Object object, Object id) { String idStr = (id == null) ? "null" : id.toString(); return typeError2("msg.undef.method.call", toString(object), idStr); }
public static RuntimeException undefReadError(Object object, Object id) { String idStr = (id == null) ? "null" : id.toString(); return typeError2("msg.undef.prop.read", toString(object), idStr); }
public static RuntimeException undefReadError(Object object, Object id) { String idStr = (id == null) ? "null" : id.toString(); return typeError2("msg.undef.prop.read", toString(object), idStr); }
public static RuntimeException notFunctionError(Object value, Object messageHelper) { // XXX Use value for better error reporting String msg = (messageHelper == null) ? "null" : messageHelper.toString(); if (value == Scriptable.NOT_FOUND) { return typeError1("msg.function.not.found", msg); } return typeError2("msg.isnt.function", msg, value == null ? "null" : value.getClass().getName()); }
public static RuntimeException undefReadError(Object object, Object id) { return typeError2("msg.undef.prop.read", toString(object), toString(id)); }
public static RuntimeException undefCallError(Object object, Object id) { return typeError2("msg.undef.method.call", toString(object), toString(id)); }
public static RuntimeException undefCallError(Object object, Object id) { return typeError2("msg.undef.method.call", toString(object), toString(id)); }
public static RuntimeException undefCallError(Object object, Object id) { return typeError2("msg.undef.method.call", toString(object), toString(id)); }
public static RuntimeException undefReadError(Object object, Object id) { return typeError2("msg.undef.prop.read", toString(object), toString(id)); }
private static RuntimeException undefDeleteError(Object object, Object id) { throw typeError2("msg.undef.prop.delete", toString(object), toString(id)); }
public static RuntimeException undefCallError(Object object, Object id) { return typeError2("msg.undef.method.call", toString(object), toString(id)); }
public static RuntimeException undefReadError(Object object, Object id) { return typeError2("msg.undef.prop.read", toString(object), toString(id)); }
public static RuntimeException notFunctionError(Object value, Object messageHelper) { // Use value for better error reporting String msg = (messageHelper == null) ? "null" : messageHelper.toString(); if (value == Scriptable.NOT_FOUND) { return typeError1("msg.function.not.found", msg); } return typeError2("msg.isnt.function", msg, typeof(value)); }
public static RuntimeException notFunctionError(Object value, Object messageHelper) { // Use value for better error reporting String msg = (messageHelper == null) ? "null" : messageHelper.toString(); if (value == Scriptable.NOT_FOUND) { return typeError1("msg.function.not.found", msg); } return typeError2("msg.isnt.function", msg, typeof(value)); }
public static RuntimeException notFunctionError(Object value, Object messageHelper) { // Use value for better error reporting String msg = (messageHelper == null) ? "null" : messageHelper.toString(); if (value == Scriptable.NOT_FOUND) { return typeError1("msg.function.not.found", msg); } return typeError2("msg.isnt.function", msg, typeof(value)); }
public static RuntimeException notFunctionError(Object value, Object messageHelper) { // Use value for better error reporting String msg = (messageHelper == null) ? "null" : messageHelper.toString(); if (value == Scriptable.NOT_FOUND) { return typeError1("msg.function.not.found", msg); } return typeError2("msg.isnt.function", msg, typeof(value)); }
public static RuntimeException notFunctionError(Object value, Object messageHelper) { // Use value for better error reporting String msg = (messageHelper == null) ? "null" : messageHelper.toString(); if (value == Scriptable.NOT_FOUND) { return typeError1("msg.function.not.found", msg); } return typeError2("msg.isnt.function", msg, typeof(value)); }
public static Scriptable requireObjectCoercible(Scriptable val, IdFunctionObject idFuncObj) { Scriptable val1 = val.getParentScope() != null ? val : null; if (val1 == null || val1 == Undefined.instance) throw ScriptRuntime.typeError2("msg.called.null.or.undefined", idFuncObj.getTag(), idFuncObj.getFunctionName()); return val1; }
public static RuntimeException notFunctionError(Object obj, Object value, String propertyName) { // Use obj and value for better error reporting String objString = toString(obj); if (value == Scriptable.NOT_FOUND) { return typeError2("msg.function.not.found.in", propertyName, objString); } return typeError3("msg.isnt.function.in", propertyName, objString, typeof(value)); }