raise ConnectorUnitError if get_service_class returns wrong