On 6-6-2010 11:54, Michael Van Canneyt wrote:
> Maybe there is some special handling required for firebird exceptions,
> although that would surprise me. Normally I'd simply expect this to
> be a special error code, and the message of the exception as the error
> message...
> 
> Michael.
Found a pdf detailing exception handling in Firebird and Delphi/IBO here:
http://www.ibobjects.com/docs/ti_ErrorHandling.pdf
page 20 implies custom exceptions are treated like normal database
errors: they generate an SQLCODE (Firebird SQL error code), and an
SQLMessage (the message I defined in my custom exception), as well as
the ERRCODE/ISC error code (IIRC, internal or more detailed Firebird
error code)

Page 22 and further describe Firebird exceptions; page 23 deals with
custom/user-defined Firebird exceptions, which I'm using.
Apparently the IBO code deals with these kinds of exceptions the same as
with normal database exceptions.

-- 
Regards,

jb
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to