function stringToIcal( data, expectedErrno ) 
function stringToIcal(data, expectedErrno) 
function stringToIcal( data, expectedErrno ){    if (!data || data == "") { // assuming time-out; WTF.        throw new Components.Exception(            "Login failed. Invalid session ID.",            Components.interfaces.calIWcapErrors.WCAP_LOGIN_FAILED);    }    var icalRootComp;    try {        icalRootComp = getIcsService().parseICS(data);    }    catch (exc) { // map into more useful error string:        throw new Components.Exception("error parsing ical data!",                                       Components.interfaces.calIErrors.ICS_PARSE);    }    checkWcapIcalErrno(icalRootComp, expectedErrno);    return icalRootComp;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/ca9241eb70b9d37b5cc4c031f828e6dcfc7e37e7/calWcapRequest.js/buggy/calendar/providers/wcap/calWcapRequest.js