rem: throw status; 
add:  throw new Components.Exception( bLogging ? ("issueSyncRequest( \"" + url + "\" ) failed.") : "issueSyncRequest() failed.", status ); 
context: function issueSyncRequest( url, receiverFunc, bLogging ){    if (bLogging == undefined)        bLogging = true;    if (bLogging && LOG_LEVEL > 0) {        logMessage( "issueSyncRequest( \"" + url + "\" )",                    "opening channel." );    }    var channel = getIoService().newChannel(        url, "" /* charset */, null /* baseURI */ );    channel.loadFlags |= Components.interfaces.nsIRequest.LOAD_BYPASS_CACHE;    var stream = channel.open();    var status = channel.status;    if (status == Components.results.NS_OK) {        var charset = channel.contentCharset;        if (!charset || charset == "")            charset = "UTF-8";        var str = streamToString( stream, charset );        if (bLogging && LOG_LEVEL > 1) {            logMessage( "issueSyncRequest( \"" + url + "\" )",                        "returned: " + str );        }        if (receiverFunc) {            receiverFunc( str );        }        return str;    }    else if (bLogging && LOG_LEVEL > 0) {        logMessage( "issueSyncRequest( \"" + url + "\" )",                    "failed: " + status );    }    throw status;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/30d02961047b21c123c6585c71a085e40f3e6fa5/calWcapRequest.js/buggy/calendar/providers/wcap/calWcapRequest.js