Subject | info about error handling |
---|---|
Author | Maik Wojcieszak |
Post date | 2002-11-20T11:05:06Z |
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)
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)