rem: for (var errorname in DWREngine._errorClasses) { if (obj.constructor == DWREngine._errorClasses[errorname]) return errorname; 
add: for (var errorname in dwr.engine._errorClasses) { if (obj.constructor == dwr.engine._errorClasses[errorname]) return errorname; 
context: DWREngine._getObjectClassName = function(obj) {  // Try to find the classname by stringifying the object's constructor  // and extract <class> from "function <class>".  if (obj && obj.constructor && obj.constructor.toString)  {    var str = obj.constructor.toString();    var regexpmatch = str.match(/function\s+(\w+)/);    if (regexpmatch && regexpmatch.length == 2) {      return regexpmatch[1];    }  }  // Now manually test against the core Error classes, as these in some   // browsers successfully match to the wrong class in the   // Object.toString() test we will do later  if (obj && obj.constructor) {	for (var errorname in DWREngine._errorClasses) {      if (obj.constructor == DWREngine._errorClasses[errorname]) return errorname;    }  }  // Try to find the classname by calling Object.toString() on the object  // and extracting <class> from "[object <class>]"  if (obj) {    var str = Object.prototype.toString.call(obj);    var regexpmatch = str.match(/\[object\s+(\w+)/);    if (regexpmatch && regexpmatch.length==2) {      return regexpmatch[1];    }  }  // Supplied argument was probably not an object, but what is better?  return "Object";};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/3edb5a1fd9763d1db91f61d8efca822206f14560/engine.js/clean/java/org/directwebremoting/engine.js