rem: function( data ) { var wcapResponse = new WcapResponse(); try { try { wcapResponse.data = dataConvFunc( data ); } catch (exc) { if (testResultCode( exc, Components.interfaces. calIWcapErrors.WCAP_LOGIN_FAILED)) /* timeout */ {   this_.getSessionId( sessionId /* (old) timed-out session */ );  this_.issueRequest( url, issueFunc, dataConvFunc, receiverFunc ); return; } throw exc; } 
add: function( wcapResponse ) { if (receiverFunc) { receiverFunc( wcapResponse ); 
context:             function( data ) {                var wcapResponse = new WcapResponse();                try {                    try {                        wcapResponse.data = dataConvFunc( data );                    }                    catch (exc) {                        if (testResultCode(                                exc, Components.interfaces.                                calIWcapErrors.WCAP_LOGIN_FAILED)) /* timeout */                        {                            // getting a new session will throw any exception in                            // this block, thus it is notified into receiverFunc                            this_.getSessionId(                                sessionId /* (old) timed-out session */ );                            // try again:                            this_.issueRequest(                                url, issueFunc, dataConvFunc, receiverFunc );                            return;                        }                        throw exc; // rethrow                    }                }                catch (exc) {                    // setting the request's exception will rethrow exception                    // when request's data is retrieved.                    wcapResponse.exception = exc;                }                receiverFunc( wcapResponse );            } );
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/188119b7f6030137779a9d95b9ad28b7b33fed6e/calWcapSession.js/clean/calendar/providers/wcap/calWcapSession.js