docs: public static PersistenceBrokerSQLException generateException(String message, SQLException ex,  String sql, Logger logger)
      {
          return generateException(message, ex, sql, null, null, logger, null);
      }