Can any one confirm this bug?
From: news.tiscali.dk (x_at_x.dk)
Date: 12/21/04
- Next message: Bjørge Sæther: "Re: Can any one confirm this bug?"
- Previous message: BINU: "How can i draw on the TImage loaded the my picture."
- Next in thread: Bjørge Sæther: "Re: Can any one confirm this bug?"
- Reply: Bjørge Sæther: "Re: Can any one confirm this bug?"
- Reply: Rob Kennedy: "Re: Can any one confirm this bug?"
- Reply: Bruce Roberts: "Re: Can any one confirm this bug?"
- Reply: news.tiscali.dk: "Re: Can any one confirm this bug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Dec 2004 13:34:17 +0100
When rasing an exception and catching it with 'on E: Exception' and the
re-rasing the exception 'raise E' Delphi gives an Access Violation. But when
re-rasing the Exception with only the 'raise' reserved word with out the 'E'
every thing is ok. Is the 'raise E' statement not legal to use?
procedure TForm1.Button1Click(Sender: TObject);
begin
try
raise Exception.Create('XXX');
except
on E: Exception do
raise E; <--- Here comes the Access Violation! With out the 'E' every
thing is ok!
end;
end;
/Brian
- Next message: Bjørge Sæther: "Re: Can any one confirm this bug?"
- Previous message: BINU: "How can i draw on the TImage loaded the my picture."
- Next in thread: Bjørge Sæther: "Re: Can any one confirm this bug?"
- Reply: Bjørge Sæther: "Re: Can any one confirm this bug?"
- Reply: Rob Kennedy: "Re: Can any one confirm this bug?"
- Reply: Bruce Roberts: "Re: Can any one confirm this bug?"
- Reply: news.tiscali.dk: "Re: Can any one confirm this bug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]