presto-main/src/main/java/io/prestosql/dispatcher/FailedDispatchQueryFactory.java/FailedDispatchQueryFactory/FailedDispatchQueryFactory
class FailedDispatchQueryFactory:    @Inject
    public FailedDispatchQueryFactory(QueryMonitor queryMonitor, LocationFactory locationFactory, DispatchExecutor dispatchExecutor)
    {
        this.queryMonitor = requireNonNull(queryMonitor, "queryMonitor is null");
        this.locationFactory = requireNonNull(locationFactory, "locationFactory is null");
        this.executor = requireNonNull(dispatchExecutor, "dispatchExecutor is null").getExecutor();
    }