I’m using a database connector to handle a set of database operations (inserts, updates, etc) in database tables.
The operations are handled through code, I need to catch SQL errors and handle them in code.
The question is: what are the best practices for handling this kind of errors while using the database connector ? I see that you have a getErrorHandler, setErrorHandler methods in RowSetTableContentProvider that uses an IErrorHandler;
on the other hand you have DbClientErrorHandler class that contains a set of methods to handle this kind of errors.
How you use these methods together ?