Subject | How to capture exceptions? |
---|---|
Author | mupedv |
Post date | 2005-05-23T08:47:04Z |
I would expect an "ibase_query('select 1/0 from rdb$database;');" to
raise an exception.
Actually, this returns a well-defined result pointing to an empty
result set. ibase_errmsg is empty.
How can I catch this kind of exceptions? (User defined exceptions are
ignored as well, actually, I tried to capture these by an
error_handler but had no success and finally ended up with the above
example...).
Any hints are welcome!
raise an exception.
Actually, this returns a well-defined result pointing to an empty
result set. ibase_errmsg is empty.
How can I catch this kind of exceptions? (User defined exceptions are
ignored as well, actually, I tried to capture these by an
error_handler but had no success and finally ended up with the above
example...).
Any hints are welcome!