コード例 #1
0
ファイル: controller.js プロジェクト: ltrgithub/X3GestAA
		}, function(error, notifyComplete) {
			var ourAjaxErr;
			if (!(ourAjaxErr = util.isOurAjaxErrEx(error))) {
				// Close the client without notifying the server because we don't have any information about the issue!
				ourAjaxErr = util.makeOurAjaxErrEx("KILL", util.getDiagnosesFromAjax(error, self._session), 23, syra_site.fusionGateway.getMessage("14"));
			}
			self._ourSapRqstError(ourAjaxErr, true, notifyComplete);
		}, true, options);
コード例 #2
0
ファイル: controller.js プロジェクト: ltrgithub/X3GestAA
		}, null, function(error, ackComplete) {
			// Force close...
			var ourAjaxErr, diagnoses;
			if (self._site) {
				self._site.updtCnxStatus(sapUtil.cnxStatus.deletedFailed);
			}
			if (!self.delSessRetry) {
				self.delSessRetry = true;
				if ((ourAjaxErr = util.isOurAjaxErrEx(error))) {
					diagnoses = util.makeDiagnosesFromOurAjaxErrEx(ourAjaxErr, self._session);
				} else {
					diagnoses = util.getDiagnosesFromAjax(error, self._session);
				}
				self._sapController._sapException(null, diagnoses, null, error, function() {
					self._delSapSess(false, panic, additionalSess, notifyCallback);
					return true;
				}, ackComplete);
			} else {
				onComplete("closed", ackComplete);
			}
		}, true);