Subject | RE: [IBO] IBO & Application.HandleException |
---|---|
Author | Alan McDonald |
Post date | 2006-10-15T13:04:41Z |
there are several exceptions I end up swallowing - i.e not reporting to the
user but handling it myself in code.
So in the service application, I end up handling it myself when IB raises it
in my application level with this call.
I have my own exception handler which does not end up shoing a dialog box.
but yes - if you have dlls hosted by other applications then you may need to
modify the source.
Alan
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
Behalf Of Martijn Tonies
Sent: Sunday, 15 October 2006 10:22 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] IBO & Application.HandleException
What's the point of swallowing an exception??
I don't want to swallow it, I want to _handle_ it -- that's different. In
my
case,
the error needs to be returned to the calling applications.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle
&
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
[Non-text portions of this message have been removed]
user but handling it myself in code.
So in the service application, I end up handling it myself when IB raises it
in my application level with this call.
I have my own exception handler which does not end up shoing a dialog box.
but yes - if you have dlls hosted by other applications then you may need to
modify the source.
Alan
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
Behalf Of Martijn Tonies
Sent: Sunday, 15 October 2006 10:22 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] IBO & Application.HandleException
> Don't you just have to plug your own inAlan,
> Application.OnException := AppException;
> to do whatever you like? swallow it if you want
What's the point of swallowing an exception??
I don't want to swallow it, I want to _handle_ it -- that's different. In
my
case,
the error needs to be returned to the calling applications.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle
&
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
[Non-text portions of this message have been removed]