rem: if (this.debug) Console.Writeln("Error Code: Upload Limit Exceeded, File name: " + file.name + ", File size: " + file.size + ", Message: " + message); 
add: this.debugMessage("Error Code: Upload Limit Exceeded, File name: " + file.name + ", File size: " + file.size + ", Message: " + message); 
context: function uploadError(error_code, fileObj, message) {	try {		// Handle this error separately because we don't want to create a FileProgress element for it.		switch(error_code) {			case SWFUpload.ERROR_CODE_QUEUE_LIMIT_EXCEEDED:				alert("You have attempted to queue too many files.\n" + (message == 0 ? "You have reached the upload limit." : "You may select " + (message > 1 ? "up to " + message + " files." : "one file.")));				return;				break;			case SWFUpload.ERROR_CODE_MISSING_UPLOAD_TARGET:				alert("There was a configuration error.  You will not be able to upload a resume at this time.");				if (this.debug) Console.Writeln("Error Code: No backend file, File name: " + file.name + ", Message: " + message);				return;				break;			case SWFUpload.ERROR_CODE_FILE_EXCEEDS_SIZE_LIMIT:				alert("The file you selected is too big.");				if (this.debug) Console.Writeln("Error Code: File too big, File name: " + file.name + ", File size: " + file.size + ", Message: " + message);				return;				break;			case SWFUpload.ERROR_CODE_ZERO_BYTE_FILE:				alert("The file you select is empty.  Please select another file.");				if (this.debug) Console.Writeln("Error Code: Zero byte file, File name: " + file.name + ", File size: " + file.size + ", Message: " + message);				return;				break;			case SWFUpload.ERROR_CODE_UPLOAD_LIMIT_EXCEEDED:				alert("You may only upload 1 file.");				if (this.debug) Console.Writeln("Error Code: Upload Limit Exceeded, File name: " + file.name + ", File size: " + file.size + ", Message: " + message);				return;				break;			default:				alert("An error occurred in the upload. Try again later.");				if (this.debug) Console.Writeln("Error Code: " + error_code + ", File name: " + file.name + ", File size: " + file.size + ", Message: " + message);				return;				break;		}		var progress = new FileProgress(fileObj, this.GetSetting("progress_target"));		progress.SetError();		progress.ToggleCancel(false);		switch(error_code) {			case SWFUpload.ERROR_CODE_HTTP_ERROR:				progress.SetStatus("Upload Error");				if (this.debug) Console.Writeln("Error Code: HTTP Error, File name: " + file.name + ", Message: " + message);				break;			case SWFUpload.ERROR_CODE_UPLOAD_FAILED:				progress.SetStatus("Upload Failed.");				if (this.debug) Console.Writeln("Error Code: Upload Failed, File name: " + file.name + ", File size: " + file.size + ", Message: " + message);				break;			case SWFUpload.ERROR_CODE_IO_ERROR:				progress.SetStatus("Server (IO) Error");				if (this.debug) Console.Writeln("Error Code: IO Error, File name: " + file.name + ", Message: " + message);				break;			case SWFUpload.ERROR_CODE_SECURITY_ERROR:				progress.SetStatus("Security Error");				if (this.debug) Console.Writeln("Error Code: Security Error, File name: " + file.name + ", Message: " + message);				break;		}	} catch (e) {}}
meta: 8671	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8671/c34fc526acbf28861397e4d0e60bd5bfd0e5af9b/handlers.js/buggy/demos/formsdemo/js/handlers.js