docs: private boolean isDataDirectExp(SQLException e) {
          /*
           * example of exception message
           * msft = "[Microsoft][SQLServer JDBC Driver][SQLServer]Invalid column name 'something'.";
           */
          String message = e.getMessage();
          int ind = message.indexOf('[', 2); // find the position of the second [
          ind = message.indexOf("][", ind + 10); // look for [] starting after the length of [SQLServer JDBC Driver], 10 is a good number.
  
          if (ind != -1) { // if none found ===> it is a datadirect one
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) 
                  Tr.debug(this, tc, "The exception is NOT a DataDirect exception ");
              return false;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) 
              Tr.debug(this, tc, "the exception is a DataDirect exception  ");
          return true;
      }