n_v_isaev
12 years agoOccasional Contributor
Exclusion from another unit
I use the TC 9 and Jscript I need to catch exceptions when creating objects "Stop on exceptions" and "Error dialog" in my project settings is disabled Example: Unit1: fun...
- 12 years agoIn my TC (9.1) your code works well, i have the exception caught in test2.
I've adapted the Class1 like that:
function Class1()
{
try {
throw new Error('error');
}
finally {
}
}