Subject | Re: [IBO] TIBODataset and Exception |
---|---|
Author | jwharton@ibobjects.com |
Post date | 2004-02-20T19:27:47Z |
You certainly can. What I recommend you do is let the program itself show you. Catch just the root exception and then in
a breakpoint debug and see what the exception's class name is and so on.
It's a very good idea to make sure all BDE unit references are removed from your application so that the compiler will
catch code like this.
Jason Wharton
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Hi
I have just converted a BDE application from BDE to IBO.
When I used BDE as connection I had some try except end rutines in my
D5 program.
On the except part I did a:
on E: EDBEngineError do
begin
Cathing some deadlock situations.......
end;
on E: Exception do
begin
end;
Now when using IBO I do not get a EDBEngineError !
So now I get into my "ordinary" exception part.
I would like to "capture" a IBO exception instead.
Can I do that ?
Regards
Michael
a breakpoint debug and see what the exception's class name is and so on.
It's a very good idea to make sure all BDE unit references are removed from your application so that the compiler will
catch code like this.
Jason Wharton
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Hi
I have just converted a BDE application from BDE to IBO.
When I used BDE as connection I had some try except end rutines in my
D5 program.
On the except part I did a:
on E: EDBEngineError do
begin
Cathing some deadlock situations.......
end;
on E: Exception do
begin
end;
Now when using IBO I do not get a EDBEngineError !
So now I get into my "ordinary" exception part.
I would like to "capture" a IBO exception instead.
Can I do that ?
Regards
Michael