Well, if the transaction is closed, of course it is not important to know about any property.
----- Original Message ----- From: "Theodoros Bebekis" <[email protected]> To: <[email protected]> Sent: Tuesday, February 10, 2009 2:31 PM Subject: Re: [delphi-en] TADOQuery / TADOConnection O/H mauro russo Ýãñáøå: >> except on E : ?TADOException? (what type to use?) >> if not VerifyPropertyOfAdoException(E) then >> raise E; >> end; > > > I'm not sure I understand you here. > > => ok, EADOError > > => Does EADOError has some interesting property to understand what > kind of error? I mean a property easly to manage in the code [that is, > not just the string-message]. No. Just a string message. But what for do you believe you need that special info? After an exception is raised the current transaction is most likely roll-backed automatically (server-side). So the only path you have to choose is to report the error to the user, or log it, or both and abort further execution. -- Regards Theo ------------------------ Theo Bebekis Thessaloniki, Greece ------------------------ The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. ------------------------ Greek_Delphi_Prog : a Delphi Programming mailing list in Greek at http://groups.yahoo.com/group/Greek_Delphi_Prog CSharpDotNetGreek : A C# and .Net mailing list in Greek language at http://groups.yahoo.com/group/CSharpDotNetGreek atla_custom : a Unisoft Atlantis Customization mailing list at http://groups.yahoo.com/group/atla_custom ------------------------ ------------------------------------ ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [email protected]! Groups Links ---------- Questa email è stata verificata dal sistema centralizzato antivirus della UniPlan Software [Non-text portions of this message have been removed] ------------------------------------ ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [email protected]! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/delphi-en/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

