Forum Discussion
AlexKaras
15 years agoChampion Level 3
Hi Rongzhong,
> Could JScript raise an Exception in a function and catch the Exception in an upper function (such as function 1 calls function 2.function 2 raise an Exception,and we catch the Exception in function 1).
AFAIK this is possible only if both functions are from the same unit. Otherwise it does not work as JScript does not support cross-unit exceptions handling (i.e. this is not TestComplete's limitation but MS JScript's one).
> Could JScript raise an Exception in a function and catch the Exception in an upper function (such as function 1 calls function 2.function 2 raise an Exception,and we catch the Exception in function 1).
AFAIK this is possible only if both functions are from the same unit. Otherwise it does not work as JScript does not support cross-unit exceptions handling (i.e. this is not TestComplete's limitation but MS JScript's one).
Related Content
- 5 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago