Subject | firebird-kylix problem |
---|---|
Author | mariposil |
Post date | 2004-07-29T17:23:49Z |
Hi.
It's a kylix problem but maybe someone can help me.
When firebird 1.5 returns duplicate primary key error or foreign key
violation error, kylix3 does not capture it. This is my code:
Try
CLRes.ApplyUpdates(0);
except
on E:Exception do
begin
E.Message := 'Error:' + E.ClassName+' '+E.Message;
Raise;
end;
end;
Kylix does'nt execute the except clause... it's very strange...
Thanks so much.
It's a kylix problem but maybe someone can help me.
When firebird 1.5 returns duplicate primary key error or foreign key
violation error, kylix3 does not capture it. This is my code:
Try
CLRes.ApplyUpdates(0);
except
on E:Exception do
begin
E.Message := 'Error:' + E.ClassName+' '+E.Message;
Raise;
end;
end;
Kylix does'nt execute the except clause... it's very strange...
Thanks so much.