[Lazarus] Exception dialog
waldo kitty
wkitty42 at windstream.net
Tue Mar 17 09:59:40 CET 2009
Michael Van Canneyt wrote:
>
> On Mon, 16 Mar 2009, Hans-Peter Diettrich wrote:
>
>> Michael Van Canneyt schrieb:
>>
>>> Is there a reason why the default exception dialog has a cancel
>>> button to kill the application ?
>> An unhandled exception IMO is due to some software bug, which the user
>> cannot cure in any way.
>
> That's a very restrictive definition of exception. An exception is
> a way to stop the normal logic and flow of the program. In a GUI
> application, you rely on the program's event loop to catch the
> exception (so it is definitely handled) and to show it to the
> user. If you don't want it to be shown, use the Abort exception.
>
> Borland explains this use in detail in chapter 14 of the Delphi 7
> manual.
while i tend to agree wholeheartedly with both side, i have to suppress a LOL at
the last statement because this ain't borland's code or definition of "pascal"
in any flavo(u)r... this is FPC's definition and even moreso, lazarus'
definition at least as far as lazarus is concerned with the code that it compiles ;)
hopefully that's taken in the spirit it is offered from an old TP2/TP3 coder :)
--
NOTE: NEW EMAIL ADDRESS!!
_\/
(@@) Waldo Kitty, Waldo's Place USA
__ooO_( )_Ooo_____________________ telnet://bbs.wpusa.dynip.com
_|_____|_____|_____|_____|_____|_____ http://www.wpusa.dynip.com
____|_____|_____|_____|_____|_____|____ ftp://ftp.wpusa.dynip.com
_|_Eat_SPAM_to_email_me!_YUM!__|_____ wkitty42 -at- windstream.net
More information about the Lazarus
mailing list