Called by the library when ODBC exception occures.
Override this method in a derived class if you want to handle ODBC exceptions.