Consider the following program:
{$mode objfpc}
uses sysutils;
begin
try
try
raise exception.create('test');
except
on e: exception do begin
e.message := 'tset';
raise e; // correct re-raise should only have raise; no exception
variable may present
end;
end;
except
writeln('oow');
end;
end.which is a wrong way to re-raise an exception. The program runs but after the outer exception handler ('oow'), it ends with EAccessViolation. Is this the intended behavior?
