Good morning,

May I ask what is the difference by using following two methods?

  try
    ...
  except
    on Error: TObject do
    begin
        ...
    end;

  try
    ...
  except
    on E: Exception do
    begin
        ...
    end;

Why can TObject be an object in try except block?

TIA

Regards
Leigh

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to