Subject RE: [IBO] info about error handling
Author Thomas Steinmaurer
The "Handling Exceptions" Tech Info Sheet on Jason's website
might be useful. http://www.ibobjects.com/TechInfo.html



Regards,
Thomas Steinmaurer
IB LogManager 2.1 - The Logging/Auditing Tool for InterBase and Firebird
http://www.iblogmanager.comThomas

> -----Original Message-----
> From: Maik Wojcieszak [mailto:mw@...]
> Sent: Wednesday, November 20, 2002 12:05 PM
> To: IBObjects
> Subject: [IBO] info about error handling
>
>
> Hi,
>
> I'm using the OnIBError event function to handle errors at the moment.
> This is enough for my global error handling.
>
> Now I want to implement a more detailed error handling using the
> IBException Classes in a way like
>
> try
> do something with a query,dsql,etc
> commit
> except
> on E: Exception do ...
> ...
> rollback
> handle errors
> end;
>
> are there any examples, wich exception class is raised,
> how can I get the Errorcode ???
>
> If there is any information about that, where can I find it. In the Helpfiles
> I found the description of the Exception classes but thats all ;-(
>
> thanks in advance
> maik
>
>
> -------------------------------------------------
> Maik Wojcieszak
>
> wobe-team (http://www.wobe-team.com)
>
>
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>