I had no better things to do so I was checking the opened bugs for Zeos, when I saw #267 Is rewrapping EZSQLExceptions into EZDatabaseErrors really necessary?.
As far as I'm aware the inheritance flag is already implemented ($DEFINE DO_NOT_DERIVE_FROM_EDATABASEERROR) and I got rid of most of the RaiseUnsupportedException method calls when I added the EZUnsupportedException type (see this and this); at the moment I only see ZDbcBeginnerStatement and ZDbcProxyResultSet using the old, procedure way.
I can fix those two so you can close this ticket if you want :)
Bugtracker #267
Bugtracker #267
Delphi 12.2, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
-
- Platinum Boarder
- Posts: 1962
- Joined: 17.01.2011, 14:17
Re: Bugtracker #267
I closed the ticket. Its main reason was to reach consent about how to handle exceptions in Zeos - and specifically how to handle that exception reraising on the component layer.