Nello Said lots of interesting things to show how dumb I really am :)
>if the exception rasied is not a MyException
>then the exception is not handled and 'Got Out'
>will not display

That's an intersting discussion Nello and I can't wait to get home and try it out. As 
I said, I hardly ever use the "On ExceptionName Do" but use the general try/except.

I find it particularly interesting that if you have a try/except such as

Except
   // do nothing
end;
ShowMessage('Here');

Then on ANY exception 'Here' will show as Delphi has handled the exception. But, if I 
understand you correctly, if you have

except
   on ExceptionName do
      Show('Gotchya');
end
ShowMessage('Here');

then if the exception is not an 'ExceptionName' exception, it will be the same as if 
the exception is re-raised and 'Here' will not show.

Thanks for the insight.

Steve
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to