If I use
try{
function1();
function2();
function3();
}
catch(e:Error){
function4();
}
and let's say in function2() an exception is thrown, which of the code does get executed by definition? will function3() get executed? will the effects of function1 be present after the catch? (there are programming languages that 'rewind' the effects such as if the whole block wasn't executed)
thanks for clarification!