Presently, SQL engine throws a generic type of exception with custom text in case of an operation failure. In result, Ignite ODBC driver returns a similar error code (2000) for different kind of failures.
For example, error code 2000 is returned for the following
The following has to be done:
- Create unique types of exceptions for Java whenever applicable.
- Add errorCode parameter and method to a generic SQL exception.
- ODBC and JDBC drivers have to return unique codes based on the exception code or type.
- All the codes have to be documented on readme.io.